From 6a4596752c074fbfd10eec0462d6a3f7ac62dfc8 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Sun, 19 Jun 2005 15:31:25 +0000 Subject: 2005-06-18 Murray Cumming * dbus/dbus-glib.h: * glib/dbus-gobject.c: * glib/dbus-gproxy.c: * glib/dbus-gvalue.c: Predeclare structs as typedef struct _Something Something instead of typedef struct Something Something, so we can redeclare the prototypes. Other GNOME libraries do this already. --- glib/dbus-gproxy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'glib/dbus-gproxy.c') diff --git a/glib/dbus-gproxy.c b/glib/dbus-gproxy.c index 8c683af4..143b9a2b 100644 --- a/glib/dbus-gproxy.c +++ b/glib/dbus-gproxy.c @@ -42,12 +42,12 @@ * DBusGProxyManager typedef */ -typedef struct DBusGProxyManager DBusGProxyManager; +typedef struct _DBusGProxyManager DBusGProxyManager; /** * Internals of DBusGProxy */ -struct DBusGProxy +struct _DBusGProxy { GObject parent; /**< Parent instance */ @@ -62,7 +62,7 @@ struct DBusGProxy /** * Class struct for DBusGProxy */ -struct DBusGProxyClass +struct _DBusGProxyClass { GObjectClass parent_class; /**< Parent class */ }; @@ -95,7 +95,7 @@ typedef struct * those signals are emitted on. In order to do this it also has to * track the owners of the names proxies are bound to. */ -struct DBusGProxyManager +struct _DBusGProxyManager { GStaticMutex lock; /**< Thread lock */ int refcount; /**< Reference count */ -- cgit