dbus/test/glib test-dbus-glib.c,1.10,1.11
Havoc Pennington
hp at freedesktop.org
Sun Jan 30 15:06:34 PST 2005
- Previous message: dbus/glib dbus-glib.c, 1.3, 1.4 dbus-gmain.c, 1.36,
1.37 dbus-gproxy.c, 1.15, 1.16
- Next message: dbus/tools Makefile.am, 1.9, 1.10 dbus-names-model.c, NONE,
1.1 dbus-names-model.h, NONE, 1.1 dbus-tree-view.c, 1.5,
1.6 dbus-viewer.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/test/glib
In directory gabe:/tmp/cvs-serv17174/test/glib
Modified Files:
test-dbus-glib.c
Log Message:
2005-01-30 Havoc Pennington <hp at redhat.com>
* glib/dbus-glib.c (dbus_g_pending_call_set_notify): new function
(dbus_g_pending_call_cancel): new function
* dbus/dbus-glib.h: move GType decls for connection/message here;
* dbus/dbus-glib.c: move all the g_type and ref/unref stuff in
here, just kind of rationalizing how we handle all that
* tools/dbus-names-model.c: new file for a tree model listing the
services on a bus
* tools/dbus-tree-view.c (model_new): use proper typing on the
model rows
Index: test-dbus-glib.c
===================================================================
RCS file: /cvs/dbus/dbus/test/glib/test-dbus-glib.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- test-dbus-glib.c 18 Jan 2005 20:42:15 -0000 1.10
+++ test-dbus-glib.c 30 Jan 2005 23:06:32 -0000 1.11
@@ -80,6 +80,11 @@
exit (1);
}
+ /* should always get the same one */
+ g_assert (connection == dbus_g_bus_get (DBUS_BUS_SESSION, NULL));
+ g_assert (connection == dbus_g_bus_get (DBUS_BUS_SESSION, NULL));
+ g_assert (connection == dbus_g_bus_get (DBUS_BUS_SESSION, NULL));
+
/* Create a proxy object for the "bus driver" */
driver = dbus_g_proxy_new_for_name (connection,
- Previous message: dbus/glib dbus-glib.c, 1.3, 1.4 dbus-gmain.c, 1.36,
1.37 dbus-gproxy.c, 1.15, 1.16
- Next message: dbus/tools Makefile.am, 1.9, 1.10 dbus-names-model.c, NONE,
1.1 dbus-names-model.h, NONE, 1.1 dbus-tree-view.c, 1.5,
1.6 dbus-viewer.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list