aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-folder-mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-folder-mail.c')
-rw-r--r--shell/e-folder-mail.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/shell/e-folder-mail.c b/shell/e-folder-mail.c
index 72010194c5..9765b7d946 100644
--- a/shell/e-folder-mail.c
+++ b/shell/e-folder-mail.c
@@ -15,20 +15,6 @@
#define PARENT_TYPE e_folder_get_type ()
-static const char *
-efm_get_type_name (EFolder *efolder)
-{
- return _("Folder containing Mail Items");
-}
-
-static void
-e_folder_mail_class_init (GtkObjectClass *object_class)
-{
- EFolderClass *efc = (EFolderClass *) object_class;
-
- efc->get_type_name = efm_get_type_name;
-}
-
static void
e_folder_mail_init (GtkObject *object)
{
@@ -42,7 +28,7 @@ e_folder_mail_new (const char *uri, const char *name, const char *desc,
{
EFolderMail *efm = gtk_type_new (e_folder_mail_get_type ());
- e_folder_construct (E_FOLDER (efm), uri, name, desc, home_page, view_name);
+ e_folder_construct (E_FOLDER (efm), E_FOLDER_MAIL, uri, name, desc, home_page, view_name);
return E_FOLDER (efm);
}