]> Dogcows Code - chaz/openbox/commitdiff
g_getenv fix, it returns const char*. use gpointer for void*
authorDana Jansens <danakj@orodu.net>
Sat, 25 Oct 2003 19:38:51 +0000 (19:38 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 25 Oct 2003 19:38:51 +0000 (19:38 +0000)
parser/parse.c

index 3f8c5e12f99aca41a32626a59a488b07673b5388..f8aed0b5b0228258eef79b2abf28cf2a48dea939 100644 (file)
@@ -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;
This page took 0.023947 seconds and 4 git commands to generate.