mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Use g_strtod instead of strtod.
* gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod.
This commit is contained in:
parent
9542740711
commit
7dbeafb657
@ -1,3 +1,7 @@
|
||||
2003-08-29 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod.
|
||||
|
||||
Fri Aug 29 21:40:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-08-29 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod.
|
||||
|
||||
Fri Aug 29 21:40:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-08-29 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod.
|
||||
|
||||
Fri Aug 29 21:40:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-08-29 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod.
|
||||
|
||||
Fri Aug 29 21:40:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-08-29 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod.
|
||||
|
||||
Fri Aug 29 21:40:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
|
||||
|
@ -368,7 +368,7 @@ gamma_ok_callback (GtkWidget *w, gpointer data)
|
||||
start = gtk_entry_get_text (GTK_ENTRY (c->gamma_text));
|
||||
if (start)
|
||||
{
|
||||
v = strtod (start, &end);
|
||||
v = g_strtod (start, &end);
|
||||
if (end > start && v > 0.0)
|
||||
c->gamma = v;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user