projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afa604f
)
gsettingsbackend: remove useless check
author
Dan Winship
<danw@gnome.org>
Thu, 22 Sep 2011 15:52:53 +0000
(11:52 -0400)
committer
Dan Winship
<danw@gnome.org>
Tue, 4 Oct 2011 17:20:28 +0000
(13:20 -0400)
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
patch
|
blob
|
history
diff --git
a/gio/gsettingsbackend.c
b/gio/gsettingsbackend.c
index
8b4c5b8
..
f824b93
100644
(file)
--- 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)