diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-11-01 13:46:04 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-11-04 08:17:32 -0500 |
commit | 809966946641af27479fc3a9c349b03cf0fdd05d (patch) | |
tree | 05822c9704641ad3e483c4f8d3ef4cffa720fe24 /gtk/gtkapplication-dbus.c | |
parent | 1c465604d506c7a994891c8b2afdac126eb308d9 (diff) | |
download | gtk+-809966946641af27479fc3a9c349b03cf0fdd05d.tar.gz |
Move the should_use_portal helper to gdk
We want to use it there too, in the future.
Update all callers.
Diffstat (limited to 'gtk/gtkapplication-dbus.c')
-rw-r--r-- | gtk/gtkapplication-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkapplication-dbus.c b/gtk/gtkapplication-dbus.c index f089e06483..e83265091c 100644 --- a/gtk/gtkapplication-dbus.c +++ b/gtk/gtkapplication-dbus.c @@ -259,7 +259,7 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl, dbus->object_path = g_application_get_dbus_object_path (G_APPLICATION (impl->application)); dbus->unique_name = g_dbus_connection_get_unique_name (dbus->session); - if (gtk_should_use_portal ()) + if (gdk_should_use_portal ()) goto out; g_debug ("Connecting to session manager"); |