use gpointer for void*
This commit is contained in:
parent
7ed0e10404
commit
5a1ad84c05
2 changed files with 14 additions and 12 deletions
|
@ -134,7 +134,7 @@ void client_set_list()
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
void client_foreach_transient(ObClient *self, ObClientForeachFunc func, void *data)
|
void client_foreach_transient(ObClient *self, ObClientForeachFunc func, gpointer data)
|
||||||
{
|
{
|
||||||
GSList *it;
|
GSList *it;
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ void client_set_list()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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) {
|
||||||
if (self->transient_for != OB_TRAN_GROUP) {
|
if (self->transient_for != OB_TRAN_GROUP) {
|
||||||
|
|
|
@ -112,7 +112,7 @@ static void parse_key(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void parse_keyboard(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
static void parse_keyboard(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
void *d)
|
gpointer d)
|
||||||
{
|
{
|
||||||
keyboard_unbind_all();
|
keyboard_unbind_all();
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ static void parse_keyboard(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void parse_mouse(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
static void parse_mouse(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
void *d)
|
gpointer d)
|
||||||
{
|
{
|
||||||
xmlNodePtr n, nbut, nact;
|
xmlNodePtr n, nbut, nact;
|
||||||
gchar *buttonstr;
|
gchar *buttonstr;
|
||||||
|
@ -190,7 +190,7 @@ static void parse_mouse(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void parse_focus(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
static void parse_focus(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
void *d)
|
gpointer d)
|
||||||
{
|
{
|
||||||
xmlNodePtr n;
|
xmlNodePtr n;
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ static void parse_focus(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void parse_placement(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
static void parse_placement(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
void *d)
|
gpointer d)
|
||||||
{
|
{
|
||||||
xmlNodePtr n;
|
xmlNodePtr n;
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ static void parse_placement(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void parse_theme(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
static void parse_theme(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
void *d)
|
gpointer d)
|
||||||
{
|
{
|
||||||
xmlNodePtr n;
|
xmlNodePtr n;
|
||||||
|
|
||||||
|
@ -240,7 +240,7 @@ static void parse_theme(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void parse_desktops(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
static void parse_desktops(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
void *d)
|
gpointer d)
|
||||||
{
|
{
|
||||||
xmlNodePtr n;
|
xmlNodePtr n;
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ static void parse_desktops(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void parse_resize(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
static void parse_resize(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
void *d)
|
gpointer d)
|
||||||
{
|
{
|
||||||
xmlNodePtr n;
|
xmlNodePtr n;
|
||||||
|
|
||||||
|
@ -280,7 +280,8 @@ static void parse_resize(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
config_redraw_resize = parse_bool(doc, n);
|
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;
|
xmlNodePtr n;
|
||||||
|
|
||||||
|
@ -351,7 +352,8 @@ static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, void *d)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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) {
|
for (node = node->children; node; node = node->next) {
|
||||||
if (!xmlStrcasecmp(node->name, (const xmlChar*) "file")) {
|
if (!xmlStrcasecmp(node->name, (const xmlChar*) "file")) {
|
||||||
|
@ -366,7 +368,7 @@ static void parse_menu(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, void *d)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void parse_resistance(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
static void parse_resistance(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
void *d)
|
gpointer d)
|
||||||
{
|
{
|
||||||
xmlNodePtr n;
|
xmlNodePtr n;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue