diff options
author | jstebbins <[email protected]> | 2014-01-14 18:30:33 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-01-14 18:30:33 +0000 |
commit | 7a89045498016168afa0de453118677bd32029e4 (patch) | |
tree | 450c92fe43c294c2e31fd0a8c2be789f94606a1d /gtk/src/settings.c | |
parent | a84366be9e3ab17fa9a9ff6958e08a489e24b679 (diff) |
LinGui: Fix deprecated GtkHScale
Fixing this deprecation makes the LinGui incompatible with versions
of gtk prior to 2.16. Too bad for you if you are using such and ancient gtk.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5970 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/settings.c')
-rw-r--r-- | gtk/src/settings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c index 34775f137..9d211797e 100644 --- a/gtk/src/settings.c +++ b/gtk/src/settings.c @@ -300,7 +300,7 @@ ghb_widget_value(GtkWidget *widget) ival = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget)); value = ghb_int64_value_new(ival); } - else if (type == GTK_TYPE_HSCALE) + else if (type == GTK_TYPE_SCALE) { gdouble dval; gint digits; @@ -591,7 +591,7 @@ update_widget(GtkWidget *widget, const GValue *value) g_debug("spin (%s)", str); gtk_spin_button_set_value(GTK_SPIN_BUTTON(widget), dval); } - else if (type == GTK_TYPE_HSCALE) + else if (type == GTK_TYPE_SCALE) { g_debug("hscale"); gtk_range_set_value(GTK_RANGE(widget), dval); |