- actions_register("MoveResizeTo", setup_func, g_free, run_func, NULL, NULL);
-}
-
-static void parse_coord(xmlNodePtr n, gint *pos,
- gboolean *opposite, gboolean *center)
-{
- gchar *s = obt_parse_node_string(n);
- if (g_ascii_strcasecmp(s, "current") != 0) {
- if (!g_ascii_strcasecmp(s, "center"))
- *center = TRUE;
- else {
- if (s[0] == '-')
- *opposite = TRUE;
- if (s[0] == '-' || s[0] == '+')
- *pos = atoi(s+1);
- else
- *pos = atoi(s);
- }
- }
- g_free(s);
+ actions_register("MoveResizeTo", setup_func, free_func, run_func);
+ /* 3.4-compatibility */
+ actions_register("MoveToCenter", setup_center_func, free_func, run_func);