aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-11 20:30:21 -0600
committerTed Gould <ted@canonical.com>2009-02-11 20:30:21 -0600
commit47decbd2ae092d72010d9adb343bd0fe2d87d8ed (patch)
tree72769d795f0510bdb067c9443413965c0ce47986 /tests
parent734c7ea36fffbc85042bbeccd476b8d2f7609e67 (diff)
downloadlibayatana-indicator-47decbd2ae092d72010d9adb343bd0fe2d87d8ed.tar.gz
libayatana-indicator-47decbd2ae092d72010d9adb343bd0fe2d87d8ed.tar.bz2
libayatana-indicator-47decbd2ae092d72010d9adb343bd0fe2d87d8ed.zip
Switching to ref_default
Diffstat (limited to 'tests')
-rw-r--r--tests/listen-and-print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/listen-and-print.c b/tests/listen-and-print.c
index 53c9778..6e1104d 100644
--- a/tests/listen-and-print.c
+++ b/tests/listen-and-print.c
@@ -57,7 +57,7 @@ main (int argc, char ** argv)
{
g_type_init();
- IndicateListener * listener = indicate_listener_new();
+ IndicateListener * listener = indicate_listener_ref_default();
g_signal_connect(listener, INDICATE_LISTENER_SIGNAL_INDICATOR_ADDED, G_CALLBACK(indicator_added), NULL);
g_signal_connect(listener, INDICATE_LISTENER_SIGNAL_INDICATOR_REMOVED, G_CALLBACK(indicator_removed), NULL);