summaryrefslogtreecommitdiffstats
path: root/gtk/src/x264handler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-04-03 17:44:19 +0000
committerjstebbins <[email protected]>2015-04-03 17:44:19 +0000
commita80e6ccc6eea8bae648e5a6cf1573361335296f2 (patch)
tree1f7f3745f7ed1251a53f7b9ffbec668317a9ebcf /gtk/src/x264handler.c
parent5efc8273df8372d36819391a1700314bd052ce2c (diff)
LinGui: refactor dict values
makes most dict methods a simple passthru to hb_dict git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7046 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/x264handler.c')
-rw-r--r--gtk/src/x264handler.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/src/x264handler.c b/gtk/src/x264handler.c
index 649a3a78f..e8e2f3f2b 100644
--- a/gtk/src/x264handler.c
+++ b/gtk/src/x264handler.c
@@ -366,7 +366,7 @@ x264_update_int_setting(signal_user_data_t *ud, const gchar *name, const gchar *
if (val == NULL) return;
ival = g_strtod (val, NULL);
- ghb_settings_set_value(ud->x264_priv, name, ghb_int64_value(ival));
+ ghb_settings_set_value(ud->x264_priv, name, ghb_int_value(ival));
ghb_check_dependency(ud, NULL, name);
}
@@ -712,7 +712,7 @@ x264_opt_update(signal_user_data_t *ud, GtkWidget *widget)
gval = ghb_widget_value(widget);
if (ghb_value_type(gval) == GHB_BOOL)
{
- if (ghb_value_boolean(gval))
+ if (ghb_value_get_bool(gval))
val = g_strdup("1");
else
val = g_strdup("0");
@@ -721,7 +721,7 @@ x264_opt_update(signal_user_data_t *ud, GtkWidget *widget)
{
val = ghb_widget_string(widget);
}
- ghb_value_free(gval);
+ ghb_value_free(&gval);
}
if (type == X264_OPT_TRANS)
{
@@ -759,7 +759,7 @@ x264_opt_update(signal_user_data_t *ud, GtkWidget *widget)
gval = ghb_widget_value(widget);
if (ghb_value_type(gval) == GHB_BOOL)
{
- if (ghb_value_boolean(gval))
+ if (ghb_value_get_bool(gval))
val = g_strdup("1");
else
val = g_strdup("0");
@@ -768,7 +768,7 @@ x264_opt_update(signal_user_data_t *ud, GtkWidget *widget)
{
val = ghb_widget_string(widget);
}
- ghb_value_free(gval);
+ ghb_value_free(&gval);
}
if (type == X264_OPT_TRANS)
{