diff options
-rw-r--r-- | gtk/gtkapplication-dbus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkapplication-dbus.c b/gtk/gtkapplication-dbus.c index 3ad964ee57..be88565216 100644 --- a/gtk/gtkapplication-dbus.c +++ b/gtk/gtkapplication-dbus.c @@ -131,6 +131,9 @@ gtk_application_get_proxy_if_service_present (GDBusConnection *connection, NULL, error); + if (!proxy) + return NULL; + /* is there anyone actually providing the service? */ owner = g_dbus_proxy_get_name_owner (proxy); if (owner == NULL) |