From: Dana Jansens Date: Sat, 25 Oct 2003 19:38:51 +0000 (+0000) Subject: g_getenv fix, it returns const char*. use gpointer for void* X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=7ed0e10404e80149db3e8ef7f32a6281fcd17d9d;p=chaz%2Fopenbox g_getenv fix, it returns const char*. use gpointer for void* --- diff --git a/parser/parse.c b/parser/parse.c index 3f8c5e12..f8aed0b5 100644 --- a/parser/parse.c +++ b/parser/parse.c @@ -32,7 +32,7 @@ static GSList *xdg_data_dir_paths; struct Callback { gchar *tag; ParseCallback func; - void *data; + gpointer data; }; struct _ObParseInst { @@ -62,7 +62,7 @@ void parse_shutdown(ObParseInst *i) } void parse_register(ObParseInst *i, const gchar *tag, - ParseCallback func, void *data) + ParseCallback func, gpointer data) { struct Callback *c; @@ -296,7 +296,7 @@ static GSList* split_paths(const gchar *paths) void parse_paths_startup() { - gchar *path; + const gchar *path; if (xdg_start) return;