From 79f9fe7f770b95600d4997267e3ed2416523387e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 16 Dec 2012 17:22:42 -0500 Subject: e-config: Remove unused functions. e_config_add_skip_check() e_config_class_remove_factory() e_config_create_window() e_config_page_get() e_config_page_next() e_config_page_prev() e_config_set_page_is_finish() Also remove E_CONFIG_ASSISTANT and all the assistant support therein. --- mail/em-config.c | 5 ++--- mail/em-config.h | 3 +-- mail/em-folder-properties.c | 3 +-- 3 files changed, 4 insertions(+), 7 deletions(-) (limited to 'mail') diff --git a/mail/em-config.c b/mail/em-config.c index fbf27fa1bb..93b6c4e9cf 100644 --- a/mail/em-config.c +++ b/mail/em-config.c @@ -126,13 +126,12 @@ em_config_init (EMConfig *emp) } EMConfig * -em_config_new (gint type, - const gchar *menuid) +em_config_new (const gchar *menuid) { EMConfig *emp; emp = g_object_new (EM_TYPE_CONFIG, NULL); - e_config_construct (&emp->config, type, menuid); + e_config_construct (&emp->config, menuid); return emp; } diff --git a/mail/em-config.h b/mail/em-config.h index 5de022b6ad..ac82adb7ad 100644 --- a/mail/em-config.h +++ b/mail/em-config.h @@ -97,8 +97,7 @@ struct _EMConfigClass { }; GType em_config_get_type (void); -EMConfig * em_config_new (gint type, - const gchar *menuid); +EMConfig * em_config_new (const gchar *menuid); EMConfigTargetFolder * em_config_target_new_folder (EMConfig *emp, CamelFolder *folder); diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c index d17fd69b5d..bfbf17f245 100644 --- a/mail/em-folder-properties.c +++ b/mail/em-folder-properties.c @@ -354,8 +354,7 @@ emfp_dialog_run (AsyncContext *context) * * The folder properties window. */ - ec = em_config_new ( - E_CONFIG_BOOK, "org.gnome.evolution.mail.folderConfig"); + ec = em_config_new ("org.gnome.evolution.mail.folderConfig"); l = NULL; for (i = 0; i < G_N_ELEMENTS (emfp_items); i++) l = g_slist_prepend (l, &emfp_items[i]); -- cgit v1.2.3