summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-09-08 09:08:43 -0700
committerJohn Stebbins <[email protected]>2016-09-08 09:10:56 -0700
commit0b33dd8bb12afc94ee0616859b268b28a35d4906 (patch)
tree67d808016ef798e8dc3d009f67458b806658b5db /gtk/src/hb-backend.c
parente9b2d291789edf2d08453c6554e1594aedfd495d (diff)
LinGui: fix some issues with reloading audio defaults
Reloading the audio defaults basically didn't work right. Some settings didn't get loaded, some got loaded and not displayed or displayed wrong.
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index 3eef1fede..17ab63d28 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -4094,8 +4094,8 @@ ghb_validate_audio(GhbValue *settings, GtkWindow *parent)
int
ghb_add_job(hb_handle_t *h, GhbValue *job_dict)
{
- char *json_job;
- int sequence_id;
+ char * json_job;
+ int sequence_id;
json_job = hb_value_get_json(job_dict);
sequence_id = hb_add_json(h, json_job);