diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-settings.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/e-shell-settings.h b/shell/e-shell-settings.h index 6c9bfabeb6..41d9d94ec5 100644 --- a/shell/e-shell-settings.h +++ b/shell/e-shell-settings.h @@ -78,6 +78,7 @@ void e_shell_settings_bind_to_gconf (EShellSettings *shell_settings, const gchar *gconf_key); /* Getters and setters for common EShellSettings property types. + * These are more convenient than g_object_get() / g_object_set(). * Add more types as needed. If GObject ever adds similar functions, * kill these. */ @@ -96,6 +97,11 @@ gchar * e_shell_settings_get_string (EShellSettings *shell_settings, void e_shell_settings_set_string (EShellSettings *shell_settings, const gchar *property_name, const gchar *v_string); +gpointer e_shell_settings_get_object (EShellSettings *shell_settings, + const gchar *property_name); +void e_shell_settings_set_object (EShellSettings *shell_settings, + const gchar *property_name, + gpointer v_object); G_END_DECLS |