diff options
author | Sven Neumann <sven@gimp.org> | 2002-01-14 07:42:45 +0000 |
---|---|---|
committer | Sven Neumann <neo@src.gnome.org> | 2002-01-14 07:42:45 +0000 |
commit | 83bcca308f0fa2be770cdcc302e0012c2578db21 (patch) | |
tree | d9f5fe5c2a470f12846645f5e205d273cafc42f7 /gtk/gtkrc.c | |
parent | d8ac56c05889f075924ac8ef2a0470349c385394 (diff) | |
download | gdk-pixbuf-83bcca308f0fa2be770cdcc302e0012c2578db21.tar.gz |
g_getenv() returns a const string.
2002-01-14 Sven Neumann <sven@gimp.org>
* gtk/gtkrc.c: g_getenv() returns a const string.
Diffstat (limited to 'gtk/gtkrc.c')
-rw-r--r-- | gtk/gtkrc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index 4bc4d58c1..fc34a496b 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -299,7 +299,8 @@ static GSList *rc_dir_stack = NULL; static gchar * gtk_rc_make_default_dir (const gchar *type) { - gchar *var, *path; + const gchar *var; + gchar *path; var = g_getenv ("GTK_EXE_PREFIX"); if (var) @@ -345,7 +346,8 @@ gtk_rc_get_im_module_file (void) gchar * gtk_rc_get_theme_dir (void) { - gchar *var, *path; + const gchar *var; + gchar *path; var = g_getenv ("GTK_DATA_PREFIX"); if (var) |