mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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
This commit is contained in:
parent
d7c1842b55
commit
3724a591d8
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -1,3 +1,11 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user