Updating branch refs/heads/master
         to 159ce4068f81c78d4f9600557829c2e65f2cf751 (commit)
       from cc878a73eaccabfc476f523c8ae5b52bca2b5557 (commit)

commit 159ce4068f81c78d4f9600557829c2e65f2cf751
Author: Harald Judt <[email protected]>
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;
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to