Use g_strtod() to cope with C libraries with crippled locale support.

2003-08-07  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
	crippled locale support.  (#115293)
This commit is contained in:
Matthias Clasen 2003-08-07 18:54:51 +00:00 committed by Matthias Clasen
parent 1ea3b45078
commit 5708dcee6c
6 changed files with 41 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
crippled locale support. (#115293)
2003-08-07 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkevents-win32.c : finally use TrackMouseEvent
@ -17,6 +22,9 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod(), not strtod() to cope with
C libraries with crippled locale support. (#115293)
* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering. (#118646, Charles Kerr)
2003-08-06 Hans Breuer <hans@breuer.org>

View File

@ -1,3 +1,8 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
crippled locale support. (#115293)
2003-08-07 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkevents-win32.c : finally use TrackMouseEvent
@ -17,6 +22,9 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod(), not strtod() to cope with
C libraries with crippled locale support. (#115293)
* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering. (#118646, Charles Kerr)
2003-08-06 Hans Breuer <hans@breuer.org>

View File

@ -1,3 +1,8 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
crippled locale support. (#115293)
2003-08-07 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkevents-win32.c : finally use TrackMouseEvent
@ -17,6 +22,9 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod(), not strtod() to cope with
C libraries with crippled locale support. (#115293)
* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering. (#118646, Charles Kerr)
2003-08-06 Hans Breuer <hans@breuer.org>

View File

@ -1,3 +1,8 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
crippled locale support. (#115293)
2003-08-07 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkevents-win32.c : finally use TrackMouseEvent
@ -17,6 +22,9 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod(), not strtod() to cope with
C libraries with crippled locale support. (#115293)
* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering. (#118646, Charles Kerr)
2003-08-06 Hans Breuer <hans@breuer.org>

View File

@ -1,3 +1,8 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to cope with C libraries with
crippled locale support. (#115293)
2003-08-07 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkevents-win32.c : finally use TrackMouseEvent
@ -17,6 +22,9 @@
2003-08-07 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod(), not strtod() to cope with
C libraries with crippled locale support. (#115293)
* gtk/gtkctree.c (draw_row): Don't cut descenders when rendering. (#118646, Charles Kerr)
2003-08-06 Hans Breuer <hans@breuer.org>

View File

@ -1498,7 +1498,7 @@ gtk_spin_button_default_input (GtkSpinButton *spin_button,
{
gchar *err = NULL;
*new_val = strtod (gtk_entry_get_text (GTK_ENTRY (spin_button)), &err);
*new_val = g_strtod (gtk_entry_get_text (GTK_ENTRY (spin_button)), &err);
if (*err)
return GTK_INPUT_ERROR;
else