diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-10-23 03:20:54 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-10-23 03:20:54 +0000 |
commit | 3724a591d822c3bc53ce829407a142e19d418acf (patch) | |
tree | ec9cd2d633d71d490bf49768b026c97b339d358f /gtk | |
parent | d7c1842b559fff7eb81d8b84e9f767669e3ba81a (diff) | |
download | gtk+-3724a591d822c3bc53ce829407a142e19d418acf.tar.gz |
Fix some unused variables.
Tue Oct 21 16:12:51 2003 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/menus.c (do_menus): Fix some unused
variables.
* gtk/gtkmain.c (_gtk_get_lc_ctype): Fix an unused
variable warning
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkmain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index ea9297be32..38b9fadb1c 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -1027,8 +1027,6 @@ gtk_set_locale (void) gchar * _gtk_get_lc_ctype (void) { - gchar *p; - #ifdef G_OS_WIN32 /* Somebody might try to set the locale for this process using the * LANG or LC_ environment variables. The Microsoft C library @@ -1040,6 +1038,8 @@ _gtk_get_lc_ctype (void) * don't have to clickety-click in the Control Panel, you can simply * start the program with LC_ALL=something on the command line.) */ + gchar *p; + p = getenv ("LC_ALL"); if (p != NULL) return g_strdup (p); |