diff options
author | Ted Gould <ted@canonical.com> | 2009-01-26 09:13:27 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-26 09:13:27 -0600 |
commit | b96eebb512beb2c82da1fcb9922300a8da10a8bb (patch) | |
tree | 4775b27df25ab05379c0d3d7c5e24264143759e4 | |
parent | 0fc106dd6a5081d3769668249556766e15c07c71 (diff) | |
download | libayatana-indicator-b96eebb512beb2c82da1fcb9922300a8da10a8bb.tar.gz libayatana-indicator-b96eebb512beb2c82da1fcb9922300a8da10a8bb.tar.bz2 libayatana-indicator-b96eebb512beb2c82da1fcb9922300a8da10a8bb.zip |
Changed to only listen to reference names instead of descriptive
ones. Hopefully this'll fix a crash.
-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) { |