diff options
author | Havoc Pennington <hp@redhat.com> | 2005-01-30 23:06:32 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-01-30 23:06:32 +0000 |
commit | 1dcacffc325e50754d4cc3338822d1f03c8b6e45 (patch) | |
tree | 2e41d02141bf61be249ee6a9f8df6bd891a7d1e1 /test/glib | |
parent | 4d985d98906577e3344fc1107d341b8ac969db1e (diff) |
2005-01-30 Havoc Pennington <hp@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
Diffstat (limited to 'test/glib')
-rw-r--r-- | test/glib/test-dbus-glib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/glib/test-dbus-glib.c b/test/glib/test-dbus-glib.c index f217cf5e..5f565a0a 100644 --- a/test/glib/test-dbus-glib.c +++ b/test/glib/test-dbus-glib.c @@ -80,6 +80,11 @@ main (int argc, char **argv) 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, |