diff options
author | David Zeuthen <davidz@redhat.com> | 2010-07-07 16:35:17 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2010-07-07 16:36:51 -0400 |
commit | abc65b233ccb14366fbd07bbed3ee3cacd5e79ea (patch) | |
tree | 36286558f6d77bf198721a72e46f1388f55afde2 /gio/gdbusmethodinvocation.h | |
parent | 32ce3e051af4260a65478acf738e82dec6a864bd (diff) |
GDBus: Hide instance structures for classes we don't want to be subclassed
This also allows us to nuke the priv-> pointers and save a couple of
indirections.
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'gio/gdbusmethodinvocation.h')
-rw-r--r-- | gio/gdbusmethodinvocation.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gio/gdbusmethodinvocation.h b/gio/gdbusmethodinvocation.h index 5f6ba097e..625d208f7 100644 --- a/gio/gdbusmethodinvocation.h +++ b/gio/gdbusmethodinvocation.h @@ -33,28 +33,7 @@ G_BEGIN_DECLS #define G_TYPE_DBUS_METHOD_INVOCATION (g_dbus_method_invocation_get_type ()) #define G_DBUS_METHOD_INVOCATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_METHOD_INVOCATION, GDBusMethodInvocation)) -#define G_DBUS_METHOD_INVOCATION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_DBUS_METHOD_INVOCATION, GDBusMethodInvocationClass)) -#define G_DBUS_METHOD_INVOCATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_DBUS_METHOD_INVOCATION, GDBusMethodInvocationClass)) #define G_IS_DBUS_METHOD_INVOCATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_METHOD_INVOCATION)) -#define G_IS_DBUS_METHOD_INVOCATION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_DBUS_METHOD_INVOCATION)) - -typedef struct _GDBusMethodInvocationClass GDBusMethodInvocationClass; -typedef struct _GDBusMethodInvocationPrivate GDBusMethodInvocationPrivate; - -/** - * GDBusMethodInvocation: - * - * The #GDBusMethodInvocation structure contains only private data and - * should only be accessed using the provided API. - * - * Since: 2.26 - */ -struct _GDBusMethodInvocation -{ - /*< private >*/ - GObject parent_instance; - GDBusMethodInvocationPrivate *priv; -}; GType g_dbus_method_invocation_get_type (void) G_GNUC_CONST; GDBusMethodInvocation *g_dbus_method_invocation_new (const gchar *sender, |