diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-04 15:18:06 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-04 16:11:30 +0200 |
commit | 17815482d382c1a8fe7c9976b0272de9c6c57551 (patch) | |
tree | e43be5bfbe28a956f349417956e38d99f6ebe7e4 /tests | |
parent | e92be825370f2d7663efb2bd2dec4c0342694b37 (diff) | |
download | telepathy-logger-17815482d382c1a8fe7c9976b0272de9c6c57551.tar.gz |
observer: prefix internal API with underscore
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); |