Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
29 lines
941 B
Diff
29 lines
941 B
Diff
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;
|
|
|