diff options
Diffstat (limited to 'libindicate')
-rw-r--r-- | libindicate/listener.c | 10 | ||||
-rw-r--r-- | libindicate/listener.h | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/libindicate/listener.c b/libindicate/listener.c index a82f0f2..5f48ecf 100644 --- a/libindicate/listener.c +++ b/libindicate/listener.c @@ -157,6 +157,14 @@ indicate_listener_finalize (GObject * obj) return; } +IndicateListener * +indicate_listener_new (void) +{ + IndicateListener * listener; + listener = g_object_new(INDICATE_TYPE_LISTENER, NULL); + return listener; +} + static void dbus_owner_change (DBusGProxy * proxy, const gchar * name, const gchar * prev, const gchar * new, IndicateListener * listener) { @@ -207,7 +215,7 @@ build_todo_list_cb (DBusGProxy * proxy, char ** names, GError * error, void * da static void todo_list_add (const gchar * name, DBusGProxy * proxy, IndicateListener * listener) { - g_debug ("Adding %s"); + g_debug ("Adding %s", name); return; } diff --git a/libindicate/listener.h b/libindicate/listener.h index 8fc210f..f596494 100644 --- a/libindicate/listener.h +++ b/libindicate/listener.h @@ -52,7 +52,7 @@ struct _IndicateListenerClass { GType indicate_listener_get_type (void) G_GNUC_CONST; -/* Create a new server */ +/* Create a new listener */ IndicateListener * indicate_listener_new (void); |