aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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);