Commit 3724a591 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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
parent d7c1842b
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.
Thu Oct 23 00:04:50 2003 Matthias Clasen <maclas@gmx.de>
* NEWS: Partial update for 2.3.0.
......
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.
Thu Oct 23 00:04:50 2003 Matthias Clasen <maclas@gmx.de>
* NEWS: Partial update for 2.3.0.
......
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.
Thu Oct 23 00:04:50 2003 Matthias Clasen <maclas@gmx.de>
* NEWS: Partial update for 2.3.0.
......
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.
Thu Oct 23 00:04:50 2003 Matthias Clasen <maclas@gmx.de>
* NEWS: Partial update for 2.3.0.
......
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.
Thu Oct 23 00:04:50 2003 Matthias Clasen <maclas@gmx.de>
* NEWS: Partial update for 2.3.0.
......
......@@ -77,8 +77,6 @@ do_menus (void)
GtkWidget *box1;
GtkWidget *box2;
GtkWidget *button;
GtkWidget *optionmenu;
GtkWidget *separator;
if (!window)
{
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment