[libadwaita/msvc: 36/36] adw-settings.c: Skip init'ing portal on Windows
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/msvc: 36/36] adw-settings.c: Skip init'ing portal on Windows
- Date: Fri, 15 Oct 2021 03:11:02 +0000 (UTC)
commit a8d508816e415293e863a3c4d803603d6bc8025a
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Oct 12 16:08:08 2021 +0800
adw-settings.c: Skip init'ing portal on Windows
FreeDesktop Portal/FlatPak is not and will likely not be available for Windows
src/adw-settings.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/adw-settings.c b/src/adw-settings.c
index e2f3f74b..f5b4f9a5 100644
--- a/src/adw-settings.c
+++ b/src/adw-settings.c
@@ -402,7 +402,9 @@ adw_settings_constructed (GObject *object)
G_OBJECT_CLASS (adw_settings_parent_class)->constructed (object);
+#ifdef G_OS_WIN32
init_portal (self);
+#endif
if (!self->has_color_scheme || !self->has_high_contrast)
init_gsettings (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]