projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b1d73
)
GDBus: fix name test cases
author
David Zeuthen
<davidz@redhat.com>
Thu, 23 Sep 2010 20:27:52 +0000
(16:27 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Thu, 23 Sep 2010 20:28:59 +0000
(16:28 -0400)
Since we make message buses come and go, we need to ensure that the
singleton connection instance goes away before attempting to call
g_bus_get_sync() or similar.
Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/tests/gdbus-names.c
patch
|
blob
|
history
diff --git
a/gio/tests/gdbus-names.c
b/gio/tests/gdbus-names.c
index
d69d0bf
..
80e41a5
100644
(file)
--- a/
gio/tests/gdbus-names.c
+++ b/
gio/tests/gdbus-names.c
@@
-445,6
+445,7
@@
test_bus_own_name (void)
g_bus_unown_name (id);
g_assert_cmpint (data.num_free_func, ==, 4);
+ _g_object_wait_for_single_ref (c);
g_object_unref (c);
g_object_unref (c2);
}