aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-06 22:36:49 -0600
committerTed Gould <ted@gould.cx>2010-01-06 22:36:49 -0600
commite2a1a14db73dfd136747f11eb6c9727a9752b8d4 (patch)
treedbb68f445f0638243c51ea2ac8f6ec62db70dc08
parent8795c1497d1f9979076ef510a5d6c34ee288f242 (diff)
downloadlibdbusmenu-e2a1a14db73dfd136747f11eb6c9727a9752b8d4.tar.gz
libdbusmenu-e2a1a14db73dfd136747f11eb6c9727a9752b8d4.tar.bz2
libdbusmenu-e2a1a14db73dfd136747f11eb6c9727a9752b8d4.zip
Let's watch the name, we don't care about the ID as much.
-rw-r--r--libdbusmenu-glib/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index c60af84..dc25571 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -376,7 +376,7 @@ dbus_owner_change (DBusGProxy * proxy, const gchar * name, const gchar * prev, c
return;
}
- if (g_strcmp0(new, priv->dbus_name)) {
+ if (g_strcmp0(name, priv->dbus_name)) {
/* Again, someone else's service. */
return;
}