forked from AuroraMiddleware/gtk
parent
3da9280a8a
commit
7e7c90961c
@ -424,7 +424,7 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl,
|
||||
"gtk-shell-shows-menubar", FALSE,
|
||||
NULL);
|
||||
|
||||
if (dbus->sm_proxy == NULL)
|
||||
if (dbus->sm_proxy == NULL && dbus->session)
|
||||
{
|
||||
dbus->inhibit_proxy = gtk_application_get_proxy_if_service_present (dbus->session,
|
||||
G_DBUS_PROXY_FLAGS_NONE,
|
||||
|
Loading…
Reference in New Issue
Block a user