dbus/glib dbus-gproxy.c,1.12,1.12.2.1
Joe Shaw
joe at freedesktop.org
Wed Feb 16 14:45:42 PST 2005
- Previous message: dbus ChangeLog,1.632.2.3,1.632.2.4
- Next message: dbus/dbus dbus-connection-internal.h, 1.19,
1.19.2.1 dbus-connection.c, 1.87.2.1,
1.87.2.2 dbus-pending-call.c, 1.8, 1.8.2.1 dbus-pending-call.h,
1.6, 1.6.2.1 dbus-server-protected.h, 1.14,
1.14.2.1 dbus-server-unix.c, 1.24, 1.24.2.1 dbus-server.c,
1.36, 1.36.2.1 dbus-transport-unix.c, 1.44,
1.44.2.1 dbus-transport.c, 1.42, 1.42.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/glib
In directory gabe:/tmp/cvs-serv28286/glib
Modified Files:
Tag: dbus-0-23
dbus-gproxy.c
Log Message:
2005-02-16 Joe Shaw <joeshaw at novell.com>
* dbus/dbus-connection-internal.h, dbus/dbus-connection.[ch],
dbus/dbus-pending-call.[ch], dbus/dbus-server-protected.h,
dbus/dbus-server-unix.c, dbus/dbus-server.c,
dbus/dbus-transport-unix.c, dbus/dbus-transport.c: Backport
a ton of thread-related fixes from HEAD to this branch.
* glib/dbus-gproxy.c: Update dbus_pending_call_get_reply() to
dbus_pending_call_steal_reply().
Index: dbus-gproxy.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gproxy.c,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -u -d -r1.12 -r1.12.2.1
--- dbus-gproxy.c 10 Aug 2004 03:07:01 -0000 1.12
+++ dbus-gproxy.c 16 Feb 2005 22:45:40 -0000 1.12.2.1
@@ -1135,7 +1135,7 @@
g_return_val_if_fail (pending != NULL, FALSE);
dbus_pending_call_block (DBUS_PENDING_CALL_FROM_G_PENDING_CALL (pending));
- message = dbus_pending_call_get_reply (DBUS_PENDING_CALL_FROM_G_PENDING_CALL (pending));
+ message = dbus_pending_call_steal_reply (DBUS_PENDING_CALL_FROM_G_PENDING_CALL (pending));
g_assert (message != NULL);
@@ -1152,6 +1152,7 @@
}
va_end (args);
+ dbus_message_unref (message);
return TRUE;
case DBUS_MESSAGE_TYPE_ERROR:
@@ -1165,6 +1166,7 @@
}
error:
+ dbus_message_unref (message);
dbus_set_g_error (error, &derror);
dbus_error_free (&derror);
return FALSE;
- Previous message: dbus ChangeLog,1.632.2.3,1.632.2.4
- Next message: dbus/dbus dbus-connection-internal.h, 1.19,
1.19.2.1 dbus-connection.c, 1.87.2.1,
1.87.2.2 dbus-pending-call.c, 1.8, 1.8.2.1 dbus-pending-call.h,
1.6, 1.6.2.1 dbus-server-protected.h, 1.14,
1.14.2.1 dbus-server-unix.c, 1.24, 1.24.2.1 dbus-server.c,
1.36, 1.36.2.1 dbus-transport-unix.c, 1.44,
1.44.2.1 dbus-transport.c, 1.42, 1.42.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list