summaryrefslogtreecommitdiff
path: root/gtk/gtkgamma.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2003-08-29 19:38:07 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-08-29 19:38:07 +0000
commit7dbeafb6571ffd983978a36ef888ef27dd0d0eb4 (patch)
tree5aeb10186f5d179747f774067c6dce291b985f32 /gtk/gtkgamma.c
parent9542740711c9661b47f044600dcc274711d03e82 (diff)
downloadgtk+-7dbeafb6571ffd983978a36ef888ef27dd0d0eb4.tar.gz
Use g_strtod instead of strtod.
* gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod.
Diffstat (limited to 'gtk/gtkgamma.c')
-rw-r--r--gtk/gtkgamma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkgamma.c b/gtk/gtkgamma.c
index ccdeb7f829..7dd483b550 100644
--- a/gtk/gtkgamma.c
+++ b/gtk/gtkgamma.c
@@ -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;
}