diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-tpl-observer.c | 6 | ||||
-rw-r--r-- | tests/twisted/main-debug.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-tpl-observer.c b/tests/test-tpl-observer.c index c3dfc32..896f395 100644 --- a/tests/test-tpl-observer.c +++ b/tests/test-tpl-observer.c @@ -23,11 +23,11 @@ main (int argc, char **argv) g_type_init (); - obs = tpl_observer_new (); + obs = _tpl_observer_new (); /* TplObserver is a singleton, be sure both references point to the same * memory address */ - obs2 = tpl_observer_new (); + obs2 = _tpl_observer_new (); g_assert (obs == obs2); /* unref the second singleton pointer and check that the it is still @@ -39,7 +39,7 @@ main (int argc, char **argv) g_assert (TPL_IS_OBSERVER (obs2)); /* register a ChanFactory and test ObserveChannel() */ - tpl_observer_set_channel_factory (obs, mock_factory); + _tpl_observer_set_channel_factory (obs, mock_factory); /* proper disposal for the singleton when no references are present */ diff --git a/tests/twisted/main-debug.c b/tests/twisted/main-debug.c index 48213ad..1e8b575 100644 --- a/tests/twisted/main-debug.c +++ b/tests/twisted/main-debug.c @@ -40,7 +40,7 @@ tpl_init (void) _tpl_channel_factory_add ("org.freedesktop.Telepathy.Channel.Type.Text", (TplChannelConstructor) tpl_channel_test_new); - observer = tpl_observer_new (); + observer = _tpl_observer_new (); if (!tp_base_client_register (TP_BASE_CLIENT (observer), &error)) { g_debug ("Error during D-Bus registration: %s", error->message); |