diff options
author | Robert Brady <robert@suse.co.uk> | 2000-11-15 02:45:55 +0000 |
---|---|---|
committer | Robert Brady <rbrady@src.gnome.org> | 2000-11-15 02:45:55 +0000 |
commit | 98e453dc0457c00220a82468c1a140bb68bb455d (patch) | |
tree | d105e5b1f143fb150e45f497d1053730be2d192e /gtk | |
parent | 0ac162b1b6cb6a7d9723f2b0b655cf61022cc459 (diff) | |
download | gtk+-98e453dc0457c00220a82468c1a140bb68bb455d.tar.gz |
The return value of g_getenv() isn't freeable, so g_strdup it.
Wed Nov 15 02:18:01 2000 Robert Brady <robert@suse.co.uk>
* gtk/gtkrc.c (gtk_rc_get_im_module_file): The return
value of g_getenv() isn't freeable, so g_strdup it.
* modules/input/inuktitut.c: Inuktitut input method.
* modules/input/Makefile.am: Build this.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index a70ac9b991..65c5bc3c30 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -348,7 +348,7 @@ gtk_rc_get_im_module_path (void) gchar * gtk_rc_get_im_module_file (void) { - gchar *result = g_getenv ("GTK_IM_MODULE_FILE"); + gchar *result = g_strdup (g_getenv ("GTK_IM_MODULE_FILE")); if (!result) { |