summaryrefslogtreecommitdiffstats
path: root/gtk/src/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/settings.c')
-rw-r--r--gtk/src/settings.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c
index 9349015a4..4fde72e7b 100644
--- a/gtk/src/settings.c
+++ b/gtk/src/settings.c
@@ -49,6 +49,18 @@ ghb_settings_combo_option(const GhbValue *settings, const gchar *key)
return ghb_lookup_combo_option(key, ghb_dict_get_value(settings, key));
}
+GhbValue *ghb_get_job_settings(GhbValue *settings)
+{
+ GhbValue *job;
+ job = ghb_dict_get(settings, "Job");
+ if (job == NULL)
+ {
+ job = ghb_dict_new();
+ ghb_dict_set(settings, "Job", job);
+ }
+ return job;
+}
+
// Map widget names to setting keys
// Widgets that map to settings have names
// of this format: s_<setting key>