[glib/settings-portal] fixup! settings: Prefer the keyfile backend when sandboxed
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/settings-portal] fixup! settings: Prefer the keyfile backend when sandboxed
- Date: Sat, 3 Nov 2018 17:13:41 +0000 (UTC)
commit ddefc739acd4fb539249614055b106fe156461f3
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Nov 3 13:03:22 2018 -0400
fixup! settings: Prefer the keyfile backend when sandboxed
fix the windows build.
gio/gkeyfilesettingsbackend.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/gio/gkeyfilesettingsbackend.c b/gio/gkeyfilesettingsbackend.c
index acfa3ca26..f4b165b64 100644
--- a/gio/gkeyfilesettingsbackend.c
+++ b/gio/gkeyfilesettingsbackend.c
@@ -79,7 +79,12 @@ G_DEFINE_TYPE_WITH_CODE (GKeyfileSettingsBackend,
G_TYPE_SETTINGS_BACKEND,
g_io_extension_point_implement (G_SETTINGS_BACKEND_EXTENSION_POINT_NAME,
g_define_type_id, "keyfile",
- glib_should_use_portal () ? 110 : 10))
+#ifdef G_OS_WIN32
+ 10
+#else
+ glib_should_use_portal () ? 110 : 10
+#endif
+ ))
static void
compute_checksum (guint8 *digest,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]