[gconf] sources: remove a harmless warning message
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gconf] sources: remove a harmless warning message
- Date: Thu, 8 Mar 2012 16:22:12 +0000 (UTC)
commit 27c183fe8e63a3a21b58348a294056e2594f985f
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Mar 7 15:04:20 2012 -0500
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
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 7b99027..7f0f712 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]