From ec45ff438943f9ec9e417ae48db7a1ca9dceca30 Mon Sep 17 00:00:00 2001 From: Robert McQueen Date: Thu, 5 Jan 2006 20:22:06 +0000 Subject: 2006-01-05 Robert McQueen * dbus/dbus-glib.h, glib/dbus-gproxy.c: Patch from Ricardo Kekki 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. --- dbus/dbus-glib.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'dbus') 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, -- cgit