diff options
author | Robert McQueen <robot101@debian.org> | 2006-01-05 20:22:06 +0000 |
---|---|---|
committer | Robert McQueen <robot101@debian.org> | 2006-01-05 20:22:06 +0000 |
commit | ec45ff438943f9ec9e417ae48db7a1ca9dceca30 (patch) | |
tree | e7e3ccfead087a31326327f40e88ac8f08198f44 /dbus | |
parent | 36e234a11a90e5b66949cdf2000e4ebf71ce3fbf (diff) |
2006-01-05 Robert McQueen <robot101@debian.org>
* dbus/dbus-glib.h, glib/dbus-gproxy.c: Patch from Ricardo Kekki
<ricardo.kekki@movial.fi> to make it possible to inherit from
DBusGProxy, by splitting the DBusGProxy struct into a public part and
a private part, and moving the setting of the DBusGProxyManager into a
connection property, allowing proper GObject construction.
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/dbus-glib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dbus/dbus-glib.h b/dbus/dbus-glib.h index 5b5095d7..217ce74a 100644 --- a/dbus/dbus-glib.h +++ b/dbus/dbus-glib.h @@ -153,6 +153,15 @@ typedef struct _DBusGProxyClass DBusGProxyClass; #define DBUS_IS_G_PROXY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DBUS_TYPE_G_PROXY)) #define DBUS_G_PROXY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUS_TYPE_G_PROXY, DBusGProxyClass)) +struct _DBusGProxy +{ + GObject parent; +}; + +struct _DBusGProxyClass +{ + GObjectClass parent_class; /**< Parent class */ +}; typedef struct _DBusGProxyCall DBusGProxyCall; typedef void (* DBusGProxyCallNotify) (DBusGProxy *proxy, |