diff options
Diffstat (limited to 'gtk/src/x264handler.c')
-rw-r--r-- | gtk/src/x264handler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/src/x264handler.c b/gtk/src/x264handler.c index 14a04ebcc..46eb8c1cf 100644 --- a/gtk/src/x264handler.c +++ b/gtk/src/x264handler.c @@ -708,9 +708,9 @@ x264_opt_update(signal_user_data_t *ud, GtkWidget *widget) val = get_psy_val(ud); else { - GValue *gval; + GhbValue *gval; gval = ghb_widget_value(widget); - if (G_VALUE_TYPE(gval) == G_TYPE_BOOLEAN) + if (ghb_value_type(gval) == GHB_BOOL) { if (ghb_value_boolean(gval)) val = g_strdup("1"); @@ -755,9 +755,9 @@ x264_opt_update(signal_user_data_t *ud, GtkWidget *widget) val = get_psy_val(ud); else { - GValue *gval; + GhbValue *gval; gval = ghb_widget_value(widget); - if (G_VALUE_TYPE(gval) == G_TYPE_BOOLEAN) + if (ghb_value_type(gval) == GHB_BOOL) { if (ghb_value_boolean(gval)) val = g_strdup("1"); |