summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-03-07 15:04:20 -0500
committerRyan Lortie <desrt@desrt.ca>2012-03-07 15:06:01 -0500
commit27c183fe8e63a3a21b58348a294056e2594f985f (patch)
tree423842d0d05098e05e3dceceb016fac4c5a09047
parent0914a38ab9758741e878ce2345cc48650f368372 (diff)
downloadgconf-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.c7
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;