[Xfce4-commits] <xfce4-weather-plugin:master> Use PROP macro instead of xmlGetProp().
Harald Judt
noreply at xfce.org
Mon Aug 6 13:20:02 CEST 2012
Updating branch refs/heads/master
to 159ce4068f81c78d4f9600557829c2e65f2cf751 (commit)
from cc878a73eaccabfc476f523c8ae5b52bca2b5557 (commit)
commit 159ce4068f81c78d4f9600557829c2e65f2cf751
Author: Harald Judt <h.judt at gmx.at>
Date: Mon Aug 6 10:58:43 2012 +0200
Use PROP macro instead of xmlGetProp().
panel-plugin/weather-parsers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/weather-parsers.c b/panel-plugin/weather-parsers.c
index f63571d..746f185 100644
--- a/panel-plugin/weather-parsers.c
+++ b/panel-plugin/weather-parsers.c
@@ -251,7 +251,7 @@ parse_weather(xmlNode *cur_node)
continue;
if (NODE_IS_TYPE(cur_node, "product")) {
- gchar *class = xmlGetProp(cur_node, (const xmlChar *) "class");
+ gchar *class = PROP(cur_node, "class");
if (xmlStrcasecmp(class, "pointData")) {
xmlFree(class);
continue;
More information about the Xfce4-commits
mailing list