aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-17 06:22:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-17 07:07:54 +0800
commit79f9fe7f770b95600d4997267e3ed2416523387e (patch)
treebd16197074d5da716bee73e7f2de9ee9c0ad2220 /mail
parent6faf671382518db3a81af23bd67a5f5b41ab3b2e (diff)
downloadgsoc2013-evolution-79f9fe7f770b95600d4997267e3ed2416523387e.tar.gz
gsoc2013-evolution-79f9fe7f770b95600d4997267e3ed2416523387e.tar.zst
gsoc2013-evolution-79f9fe7f770b95600d4997267e3ed2416523387e.zip
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.
Diffstat (limited to 'mail')
-rw-r--r--mail/em-config.c5
-rw-r--r--mail/em-config.h3
-rw-r--r--mail/em-folder-properties.c3
3 files changed, 4 insertions, 7 deletions
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]);