diff options
author | John Stebbins <[email protected]> | 2016-03-10 17:09:27 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-03-12 09:38:30 -0700 |
commit | 65bb8a6ab60f1aa539d77c7e79229847e400fbff (patch) | |
tree | 71763b6bc8930148c068f9bcbd60c7c2cfece71c /gtk/src/hb-backend.c | |
parent | 39613ae76e39b5a8ddaae50aa5d5665796acc726 (diff) |
LinGui: Tidy up queue format
Put all UI specific settings under a "uiSettings" key in a queue entry.
Job settings suitable for hb_add_json() are under "Job" key.
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 4ea4d4d4b..e5035d3e5 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -4058,14 +4058,12 @@ ghb_validate_audio(GhbValue *settings, GtkWindow *parent) } int -ghb_add_job(hb_handle_t *h, GhbValue *js) +ghb_add_job(hb_handle_t *h, GhbValue *job_dict) { - GhbValue *job; char *json_job; int sequence_id; - job = ghb_dict_get(js, "Job"); - json_job = hb_value_get_json(job); + json_job = hb_value_get_json(job_dict); sequence_id = hb_add_json(h, json_job); free(json_job); |