summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/plugins/config-gnome/config-gnome.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/plugins/config-gnome/config-gnome.c b/src/backend/plugins/config-gnome/config-gnome.c
index 29cb34a..9d6fd68 100644
--- a/src/backend/plugins/config-gnome/config-gnome.c
+++ b/src/backend/plugins/config-gnome/config-gnome.c
@@ -72,8 +72,10 @@ px_config_gnome_init (PxConfigGnome *self)
return;
source = g_settings_schema_source_get_default ();
- if (!source)
+ 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);