diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2011-10-14 14:07:17 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2011-10-14 17:49:49 -0400 |
commit | 5d28629e4324a370b383897716cc760cc1e9f1be (patch) | |
tree | fb1f40f15e06fd77f16a0da6abb3284e41e8d822 /tests | |
parent | 589eac5c37a2dc5020e18fc9197cfcb2e5934f25 (diff) |
Fix observer singleton and select features
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dbus/test-tpl-observer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dbus/test-tpl-observer.c b/tests/dbus/test-tpl-observer.c index 5e07bb9..b15811e 100644 --- a/tests/dbus/test-tpl-observer.c +++ b/tests/dbus/test-tpl-observer.c @@ -21,11 +21,11 @@ main (int argc, char **argv) g_type_init (); - obs = _tpl_observer_new (); + obs = _tpl_observer_dup (NULL); /* TplObserver is a singleton, be sure both references point to the same * memory address */ - obs2 = _tpl_observer_new (); + obs2 = _tpl_observer_dup (NULL); g_assert (obs == obs2); /* unref the second singleton pointer and check that the it is still |