From 38d21f6d8a761cf211c0e0ca21c394b4824d13f2 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 22 Sep 2011 11:52:53 -0400 Subject: [PATCH] gsettingsbackend: remove useless check GMemorySettingsBackend is always present, so there's no need to check for "no backends available" https://bugzilla.gnome.org/show_bug.cgi?id=620932 --- gio/gsettingsbackend.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gio/gsettingsbackend.c b/gio/gsettingsbackend.c index 8b4c5b8b6..f824b93e6 100644 --- a/gio/gsettingsbackend.c +++ b/gio/gsettingsbackend.c @@ -978,10 +978,6 @@ g_settings_backend_get_default (void) if (extension == NULL) { extensions = g_io_extension_point_get_extensions (point); - - if (extensions == NULL) - g_error ("No GSettingsBackend implementations exist."); - extension = extensions->data; if (strcmp (g_io_extension_get_name (extension), "memory") == 0)