diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-03-07 15:04:20 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-03-07 15:06:01 -0500 |
commit | 27c183fe8e63a3a21b58348a294056e2594f985f (patch) | |
tree | 423842d0d05098e05e3dceceb016fac4c5a09047 | |
parent | 0914a38ab9758741e878ce2345cc48650f368372 (diff) | |
download | gconf-27c183fe8e63a3a21b58348a294056e2594f985f.tar.gz |
sources: remove a harmless warning message
GConf warns if there are no writable databases in use. Stop it from
doing that.
https://bugzilla.gnome.org/show_bug.cgi?id=671581
-rw-r--r-- | gconf/gconf-sources.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gconf/gconf-sources.c b/gconf/gconf-sources.c index 7b99027c..7f0f7122 100644 --- a/gconf/gconf-sources.c +++ b/gconf/gconf-sources.c @@ -398,9 +398,7 @@ gconf_sources_new_from_addresses(GSList * addresses, GError** err) { GList *tmp; int i; - gboolean some_writable; - some_writable = FALSE; i = 0; tmp = sources->sources; while (tmp != NULL) @@ -409,7 +407,6 @@ gconf_sources_new_from_addresses(GSList * addresses, GError** err) if (source->flags & GCONF_SOURCE_ALL_WRITEABLE) { - some_writable = TRUE; gconf_log (GCL_DEBUG, _("Resolved address \"%s\" to a writable configuration source at position %d"), source->address, i); @@ -422,7 +419,6 @@ gconf_sources_new_from_addresses(GSList * addresses, GError** err) } else { - some_writable = TRUE; gconf_log (GCL_DEBUG, _("Resolved address \"%s\" to a partially writable configuration source at position %d"), source->address, i); @@ -431,9 +427,6 @@ gconf_sources_new_from_addresses(GSList * addresses, GError** err) ++i; tmp = tmp->next; } - - if (!some_writable) - gconf_log (GCL_WARNING, _("None of the resolved addresses are writable; saving configuration settings will not be possible")); } return sources; |