about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libproxy/skip-gsettings-detection.patch
blob: 1882079b94b0b2437e8e5fc4d8261d7feaaf8022 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/src/backend/plugins/config-gnome/config-gnome.c b/src/backend/plugins/config-gnome/config-gnome.c
index 52e812e..a1edcab 100644
--- a/src/backend/plugins/config-gnome/config-gnome.c
+++ b/src/backend/plugins/config-gnome/config-gnome.c
@@ -57,7 +57,6 @@ enum {
 static void
 px_config_gnome_init (PxConfigGnome *self)
 {
-  GSettingsSchemaSource *source;
   g_autoptr (GSettingsSchema) proxy_schema = NULL;
   const char *desktops;
 
@@ -71,15 +70,7 @@ px_config_gnome_init (PxConfigGnome *self)
   if (strstr (desktops, "GNOME") == NULL)
     return;
 
-  source = g_settings_schema_source_get_default ();
-  if (!source) {
-    g_warning ("GNOME desktop detected but no schemes installed, aborting.");
-    return;
-  }
-
-  proxy_schema = g_settings_schema_source_lookup (source, "org.gnome.system.proxy", TRUE);
-
-  self->available = proxy_schema != NULL;
+  self->available = TRUE;
   if (!self->available)
     return;