From 7ed0e10404e80149db3e8ef7f32a6281fcd17d9d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 25 Oct 2003 19:38:51 +0000 Subject: [PATCH] g_getenv fix, it returns const char*. use gpointer for void* --- parser/parse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.45.2