]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/resize.c
rename the obt_parse library to obt_xml (since it is very xml specific)
[chaz/openbox] / openbox / actions / resize.c
index 47f45f5b2de4aadcfb3dbcc88870d67ae86bf701..fbcdf24a6b3a7d32c16798c58b946e977bdf7504 100644 (file)
@@ -17,7 +17,7 @@ static guint32 pick_corner(gint x, gint y, gint cx, gint cy, gint cw, gint ch,
 
 void action_resize_startup(void)
 {
-    actions_register("Resize", setup_func, g_free, run_func, NULL, NULL);
+    actions_register("Resize", setup_func, g_free, run_func);
 }
 
 static gpointer setup_func(xmlNodePtr node)
@@ -27,8 +27,8 @@ static gpointer setup_func(xmlNodePtr node)
 
     o = g_new0(Options, 1);
 
-    if ((n = obt_parse_find_node(node, "edge"))) {
-        gchar *s = obt_parse_node_string(n);
+    if ((n = obt_xml_find_node(node, "edge"))) {
+        gchar *s = obt_xml_node_string(n);
 
         o->corner_specified = TRUE;
         if (!g_ascii_strcasecmp(s, "top"))
This page took 0.025606 seconds and 4 git commands to generate.