summaryrefslogtreecommitdiffstats
path: root/gtk/src/resources.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/resources.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/resources.c')
-rw-r--r--gtk/src/resources.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/src/resources.c b/gtk/src/resources.c
index d0b5dee4b..7010202f1 100644
--- a/gtk/src/resources.c
+++ b/gtk/src/resources.c
@@ -25,7 +25,7 @@ static const gchar resource_str[] =
#include "resource_data.h"
;
-static GValue *resources;
+static GhbValue *resources;
void
ghb_resource_init()
@@ -33,10 +33,10 @@ ghb_resource_init()
resources = ghb_plist_parse(resource_str, sizeof(resource_str)-1);
}
-GValue*
+GhbValue*
ghb_resource_get(const gchar *name)
{
- GValue *result;
+ GhbValue *result;
result = ghb_dict_lookup(resources, name);
return result;
}