]> Dogcows Code - chaz/openbox/blobdiff - parser/parse.c
set the desktop hint if the desktop is changed by the session code
[chaz/openbox] / parser / parse.c
index 2b81594adcf38032682c6c0aa96f4e1d61631684..07ce0736d89bc91c4bf921a34f51dea6ae101c6c 100644 (file)
@@ -59,7 +59,7 @@ gboolean parse_load_rc(xmlDocPtr *doc, xmlNodePtr *root)
     }
     g_free(path);
     if (!r)
-        g_message("unable to find a valid config file, using defaults");
+        g_warning("unable to find a valid config file, using defaults");
     return r;
 }
 
@@ -100,7 +100,7 @@ void parse_tree(xmlDocPtr doc, xmlNodePtr node, void *nothing)
         struct Callback *c = g_hash_table_lookup(callbacks, node->name);
 
         if (c)
-            c->func(doc, node->xmlChildrenNode, c->data);
+            c->func(doc, node, c->data);
 
         node = node->next;
     }
This page took 0.022176 seconds and 4 git commands to generate.