diff options
-rw-r--r-- | src/im-application-list.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/im-application-list.c b/src/im-application-list.c index 8e59dcb..d285fda 100644 --- a/src/im-application-list.c +++ b/src/im-application-list.c @@ -1163,9 +1163,12 @@ im_application_list_set_remote (ImApplicationList *list, if (app->proxy) name_owner = g_dbus_proxy_get_name_owner (G_DBUS_PROXY (app->proxy)); - g_warning ("replacing '%s' at %s with %s", id, name_owner, unique_bus_name); - im_application_list_unset_remote (app); + if (g_strcmp0 (name_owner, unique_bus_name) != 0) + { + g_warning ("replacing '%s' at %s with %s", id, name_owner, unique_bus_name); + im_application_list_unset_remote (app); + } g_free (name_owner); } |