summaryrefslogtreecommitdiffstats
path: root/gtk/src/values.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-03-07 20:53:21 +0000
committerjstebbins <[email protected]>2015-03-07 20:53:21 +0000
commita4ad5062c3fa1787b208389123bb81ea57483142 (patch)
treee873951f241d38bb3c017d60784fbe643286f43a /gtk/src/values.c
parent37b12ce6026a0a62cf306416cb3faf51bddb7cdf (diff)
LinGui: remove unused function
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6975 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/values.c')
-rw-r--r--gtk/src/values.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/gtk/src/values.c b/gtk/src/values.c
index 749ce0bca..b7ceaf082 100644
--- a/gtk/src/values.c
+++ b/gtk/src/values.c
@@ -31,37 +31,6 @@ ghb_value_type(const GhbValue *val)
return type;
}
-GhbValue*
-ghb_value_new(GhbType type)
-{
- GhbValue *val = NULL;
- switch (type)
- {
- case GHB_DICT:
- val = json_object();
- break;
- case GHB_ARRAY:
- val = json_array();
- break;
- case GHB_STRING:
- val = json_string("");
- break;
- case GHB_INT:
- val = json_integer(0);
- break;
- case GHB_DOUBLE:
- val = json_real(0.0);
- break;
- case GHB_BOOL:
- val = json_false();
- break;
- default:
- g_warning("Unrecognized GHB value type %d", type);
- break;
- }
- return val;
-}
-
void
ghb_value_incref(GhbValue *gval)
{