diff options
-rw-r--r-- | libindicate/listener.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |