dbus/glib dbus-gobject.c, 1.30, 1.31 dbus-gproxy.c, 1.28,
1.29 dbus-gvalue.c, 1.12, 1.13
Murray Cumming
murrayc at freedesktop.org
Sun Jun 19 08:31:27 PDT 2005
Update of /cvs/dbus/dbus/glib
In directory gabe:/tmp/cvs-serv10247/glib
Modified Files:
dbus-gobject.c dbus-gproxy.c dbus-gvalue.c
Log Message:
2005-06-18 Murray Cumming <murrayc at murrayc.com>
* 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.
Index: dbus-gobject.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gobject.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- dbus-gobject.c 17 Jun 2005 14:29:48 -0000 1.30
+++ dbus-gobject.c 19 Jun 2005 15:31:25 -0000 1.31
@@ -757,7 +757,7 @@
* The context of an asynchronous method call. See dbus_g_method_return() and
* dbus_g_method_return_error().
*/
-struct DBusGMethodInvocation {
+struct _DBusGMethodInvocation {
DBusGConnection *connection; /**< The connection */
DBusGMessage *message; /**< The message which generated the method call */
const DBusGObjectInfo *object; /**< The object the method was called on */
Index: dbus-gproxy.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gproxy.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- dbus-gproxy.c 17 Jun 2005 14:29:48 -0000 1.28
+++ dbus-gproxy.c 19 Jun 2005 15:31:25 -0000 1.29
@@ -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 @@
/**
* Class struct for DBusGProxy
*/
-struct DBusGProxyClass
+struct _DBusGProxyClass
{
GObjectClass parent_class; /**< Parent class */
};
@@ -95,7 +95,7 @@
* 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 */
Index: dbus-gvalue.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gvalue.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- dbus-gvalue.c 16 Jun 2005 04:38:11 -0000 1.12
+++ dbus-gvalue.c 19 Jun 2005 15:31:25 -0000 1.13
@@ -38,7 +38,7 @@
static gpointer dbus_g_value_copy (gpointer value);
-struct DBusGValue
+struct _DBusGValue
{
enum {
DBUS_G_VALUE_TYPE_TOPLEVEL,
More information about the dbus-commit
mailing list