[gtk/gtk-3-24] wayland: Adapt to settings portal api change
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] wayland: Adapt to settings portal api change
- Date: Mon, 12 Nov 2018 19:10:32 +0000 (UTC)
commit d21832719bf5e2db215a792dca29dfde5a6318e3
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 12 14:10:13 2018 -0500
wayland: Adapt to settings portal api change
ReadAll now accepts an array of patterns.
gdk/wayland/gdkscreen-wayland.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index 16d3260041..4ab4023882 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -673,6 +673,7 @@ init_settings (GdkScreen *screen)
const char *schema;
GVariant *val;
GVariantIter *iter;
+ const char *patterns[] = { "org.gnome.*", NULL };
screen_wayland->settings_portal = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
G_DBUS_PROXY_FLAGS_NONE,
@@ -692,7 +693,7 @@ init_settings (GdkScreen *screen)
ret = g_dbus_proxy_call_sync (screen_wayland->settings_portal,
"ReadAll",
- g_variant_new ("(s)", "org.gnome.*"),
+ g_variant_new ("(^as)", patterns),
G_DBUS_CALL_FLAGS_NONE,
G_MAXINT,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]