From b96eebb512beb2c82da1fcb9922300a8da10a8bb Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 26 Jan 2009 09:13:27 -0600 Subject: Changed to only listen to reference names instead of descriptive ones. Hopefully this'll fix a crash. --- libindicate/listener.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libindicate/listener.c b/libindicate/listener.c index 7510c49..78a85eb 100644 --- a/libindicate/listener.c +++ b/libindicate/listener.c @@ -292,6 +292,10 @@ build_todo_list_cb (DBusGProxy * proxy, char ** names, GError * error, void * da static void todo_list_add (const gchar * name, DBusGProxy * proxy, IndicateListener * listener) { + if (name == NULL || name[0] != ':') { + return; + } + DBusGConnection * bus; gchar * bus_name; if (proxy == listener->dbus_proxy_system) { -- cgit v1.2.3