summaryrefslogtreecommitdiffstats
path: root/gtk/src/x264handler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-03-06 18:12:27 +0000
committerjstebbins <[email protected]>2015-03-06 18:12:27 +0000
commitb2afa282e450e3c1e7c1ab75925734086e6b706a (patch)
tree65376e1623e890e518c3dc5f1b847a255b82d2c6 /gtk/src/x264handler.c
parentf6bf7d75908d718ea620ac2e6f691627d0a9e7c2 (diff)
LinGui: change settings dict from glib to jansson
This will allow for preferences, presets, and queue files to be written as json instead of plists (currently still plists). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6968 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/x264handler.c')
-rw-r--r--gtk/src/x264handler.c8
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");