dbus/dbus dbus-glib.h,1.20,1.21

Robert McQueen robot101 at freedesktop.org
Thu Jan 5 12:22:08 PST 2006


Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv28846/dbus

Modified Files:
	dbus-glib.h 
Log Message:
2006-01-05  Robert McQueen  <robot101 at debian.org>

	* dbus/dbus-glib.h, glib/dbus-gproxy.c: Patch from Ricardo Kekki
	<ricardo.kekki at 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.

Index: dbus-glib.h
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-glib.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- dbus-glib.h	11 Jul 2005 16:12:50 -0000	1.20
+++ dbus-glib.h	5 Jan 2006 20:22:06 -0000	1.21
@@ -153,6 +153,15 @@
 #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,



More information about the dbus-commit mailing list