Use g_strtod instead of strtod.

* gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod.
This commit is contained in:
Matthias Clasen 2003-08-29 19:38:07 +00:00
parent 9542740711
commit 7dbeafb657
6 changed files with 21 additions and 1 deletions

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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):

View File

@ -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;
}