summaryrefslogtreecommitdiff
path: root/gtk/gtkrc.c
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2002-01-14 07:42:45 +0000
committerSven Neumann <neo@src.gnome.org>2002-01-14 07:42:45 +0000
commit83bcca308f0fa2be770cdcc302e0012c2578db21 (patch)
treed9f5fe5c2a470f12846645f5e205d273cafc42f7 /gtk/gtkrc.c
parentd8ac56c05889f075924ac8ef2a0470349c385394 (diff)
downloadgdk-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.c6
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)