diff options
author | jstebbins <[email protected]> | 2008-09-19 00:19:46 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2008-09-19 00:19:46 +0000 |
commit | 15208b5875fbfc53480941750bc8afae7b5f90a7 (patch) | |
tree | bff253b6752c33a6d1f1f9e3b3c357b08bbea524 /gtk/src/settings.h | |
parent | 3609b74b98372c0c4960a0a681fd1f0a4dc24c9b (diff) |
LinGui: tidy up how combobox values are handled internally and stored in plists
fix a problem with storing max picture dims to presets plist
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1719 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/settings.h')
-rw-r--r-- | gtk/src/settings.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gtk/src/settings.h b/gtk/src/settings.h index cc89f1f7f..ca3ffa1e2 100644 --- a/gtk/src/settings.h +++ b/gtk/src/settings.h @@ -72,9 +72,6 @@ void ghb_settings_set_int64(GValue *settings, const gchar *key, gint64 ival); void ghb_settings_set_int(GValue *settings, const gchar *key, gint ival); void ghb_settings_set_boolean( GValue *settings, const gchar *key, gboolean bval); -void ghb_settings_set_combo( - GValue *settings, const gchar *key, gint index, const gchar *option, - const gchar *shortOpt, const gchar *svalue, gint ivalue); void ghb_settings_copy( GValue *settings, const gchar *key, const GValue *value); GValue* ghb_settings_get_value(GValue *settings, const gchar *key); @@ -83,15 +80,15 @@ gint64 ghb_settings_get_int64(GValue *settings, const gchar *key); gint ghb_settings_get_int(GValue *settings, const gchar *key); gdouble ghb_settings_get_double(GValue *settings, const gchar *key); gchar* ghb_settings_get_string(GValue *settings, const gchar *key); -gint ghb_settings_get_combo_index(GValue *settings, const gchar *key); -gchar* ghb_settings_get_combo_option(GValue *settings, const gchar *name); +gint ghb_settings_combo_int(GValue *settings, const gchar *key); +const gchar* ghb_settings_combo_option(GValue *settings, const gchar *key); GValue* ghb_widget_value(GtkWidget *widget); gchar* ghb_widget_string(GtkWidget *widget); gdouble ghb_widget_double(GtkWidget *widget); gint64 ghb_widget_int64(GtkWidget *widget); gint ghb_widget_int(GtkWidget *widget); -gint ghb_widget_index(GtkWidget *widget); +gint ghb_widget_boolean(GtkWidget *widget); void ghb_widget_to_setting(GValue *settings, GtkWidget *widget); int ghb_ui_update( |