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:
@ -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>
|
Thu Oct 23 00:04:50 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* NEWS: Partial update for 2.3.0.
|
* 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>
|
Thu Oct 23 00:04:50 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* NEWS: Partial update for 2.3.0.
|
* 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>
|
Thu Oct 23 00:04:50 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* NEWS: Partial update for 2.3.0.
|
* 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>
|
Thu Oct 23 00:04:50 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* NEWS: Partial update for 2.3.0.
|
* 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>
|
Thu Oct 23 00:04:50 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* NEWS: Partial update for 2.3.0.
|
* NEWS: Partial update for 2.3.0.
|
||||||
|
|||||||
@ -77,8 +77,6 @@ do_menus (void)
|
|||||||
GtkWidget *box1;
|
GtkWidget *box1;
|
||||||
GtkWidget *box2;
|
GtkWidget *box2;
|
||||||
GtkWidget *button;
|
GtkWidget *button;
|
||||||
GtkWidget *optionmenu;
|
|
||||||
GtkWidget *separator;
|
|
||||||
|
|
||||||
if (!window)
|
if (!window)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1027,8 +1027,6 @@ gtk_set_locale (void)
|
|||||||
gchar *
|
gchar *
|
||||||
_gtk_get_lc_ctype (void)
|
_gtk_get_lc_ctype (void)
|
||||||
{
|
{
|
||||||
gchar *p;
|
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
/* Somebody might try to set the locale for this process using the
|
/* Somebody might try to set the locale for this process using the
|
||||||
* LANG or LC_ environment variables. The Microsoft C library
|
* 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
|
* don't have to clickety-click in the Control Panel, you can simply
|
||||||
* start the program with LC_ALL=something on the command line.)
|
* start the program with LC_ALL=something on the command line.)
|
||||||
*/
|
*/
|
||||||
|
gchar *p;
|
||||||
|
|
||||||
p = getenv ("LC_ALL");
|
p = getenv ("LC_ALL");
|
||||||
if (p != NULL)
|
if (p != NULL)
|
||||||
return g_strdup (p);
|
return g_strdup (p);
|
||||||
|
|||||||
Reference in New Issue
Block a user