all repos — openbox @ 5a1ad84c0583ff4dd8df01e63488e9c04daf6eab

openbox fork - make it a bit more like ryudo

use gpointer for void*
Dana Jansens danakj@orodu.net
commit

5a1ad84c0583ff4dd8df01e63488e9c04daf6eab

parent

7ed0e10404e80149db3e8ef7f32a6281fcd17d9d

2 files changed, 14 insertions(+), 12 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -134,7 +134,7 @@ stacking_set_list();

} /* - void client_foreach_transient(ObClient *self, ObClientForeachFunc func, void *data) + void client_foreach_transient(ObClient *self, ObClientForeachFunc func, gpointer data) { GSList *it;

@@ -144,7 +144,7 @@ client_foreach_transient(it->data, func, data);

} } - void client_foreach_ancestor(ObClient *self, ObClientForeachFunc func, void *data) + void client_foreach_ancestor(ObClient *self, ObClientForeachFunc func, gpointer data) { if (self->transient_for) { if (self->transient_for != OB_TRAN_GROUP) {
M openbox/config.copenbox/config.c

@@ -112,7 +112,7 @@ }

} static void parse_keyboard(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, - void *d) + gpointer d) { keyboard_unbind_all();

@@ -130,7 +130,7 @@

*/ static void parse_mouse(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, - void *d) + gpointer d) { xmlNodePtr n, nbut, nact; gchar *buttonstr;

@@ -190,7 +190,7 @@ }

} static void parse_focus(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, - void *d) + gpointer d) { xmlNodePtr n;

@@ -207,7 +207,7 @@ config_focus_raise = parse_bool(doc, n);

} static void parse_placement(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, - void *d) + gpointer d) { xmlNodePtr n;

@@ -219,7 +219,7 @@ config_place_policy = OB_PLACE_POLICY_MOUSE;

} static void parse_theme(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, - void *d) + gpointer d) { xmlNodePtr n;

@@ -240,7 +240,7 @@ }

} static void parse_desktops(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, - void *d) + gpointer d) { xmlNodePtr n;

@@ -270,7 +270,7 @@ }

} static void parse_resize(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, - void *d) + gpointer d) { xmlNodePtr n;

@@ -280,7 +280,8 @@ if ((n = parse_find_node("drawContents", node)))

config_redraw_resize = parse_bool(doc, n); } -static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, void *d) +static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, + gpointer d) { xmlNodePtr n;

@@ -351,7 +352,8 @@ g_free(str);

} } -static void parse_menu(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, void *d) +static void parse_menu(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, + gpointer d) { for (node = node->children; node; node = node->next) { if (!xmlStrcasecmp(node->name, (const xmlChar*) "file")) {

@@ -366,7 +368,7 @@ }

} static void parse_resistance(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, - void *d) + gpointer d) { xmlNodePtr n;