summaryrefslogtreecommitdiffstats
path: root/gtk/src/settings.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-05-15 09:19:19 +0000
committerjstebbins <[email protected]>2014-05-15 09:19:19 +0000
commitcc9dfa7781fafba8b9e24ce943946d6784597c74 (patch)
treebc1295aa7dfd5e950f7ba7d996b5808d8717eb0d /gtk/src/settings.c
parent95d5a9b0988d64f8a8e061a8fbb4e02b0375b8c3 (diff)
LinGui: allow hh:mm:ss.ms input for P-to-P "Seconds"
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6191 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/settings.c')
-rw-r--r--gtk/src/settings.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c
index cd2d21eb6..6e965f42e 100644
--- a/gtk/src/settings.c
+++ b/gtk/src/settings.c
@@ -301,9 +301,9 @@ ghb_widget_value(GtkWidget *widget)
}
else if (type == GTK_TYPE_SPIN_BUTTON)
{
- gint ival;
- ival = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget));
- value = ghb_int64_value_new(ival);
+ double val;
+ val = gtk_spin_button_get_value(GTK_SPIN_BUTTON(widget));
+ value = ghb_double_value_new(val);
}
else if (type == GTK_TYPE_SCALE)
{