[gnome-control-center] background: Add more information to run-time warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] background: Add more information to run-time warning
- Date: Wed, 7 Jun 2017 16:33:40 +0000 (UTC)
commit 99acb323d2bb4dd9717a6041f450d0fbf1af07a9
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 7 18:23:53 2017 +0200
background: Add more information to run-time warning
It was impossible to know which background XML had an error with the
original message.
panels/background/cc-background-xml.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/background/cc-background-xml.c b/panels/background/cc-background-xml.c
index e6e669d..60498d5 100644
--- a/panels/background/cc-background-xml.c
+++ b/panels/background/cc-background-xml.c
@@ -273,7 +273,7 @@ cc_background_xml_load_xml_internal (CcBackgroundXml *xml,
} else if (!strcmp ((gchar *)wpa->name, "text")) {
/* Do nothing here, libxml2 is being weird */
} else {
- g_warning ("Unknown Tag: %s", wpa->name);
+ g_warning ("Unknown Tag in %s: %s", filename, wpa->name);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]