aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-folder.c')
-rw-r--r--shell/e-folder.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/shell/e-folder.c b/shell/e-folder.c
index 62e27cdfad..ba6e10b22e 100644
--- a/shell/e-folder.c
+++ b/shell/e-folder.c
@@ -165,6 +165,19 @@ e_folder_get_type_name (EFolder *efolder)
return NULL;
}
+
+EFolderType
+e_folder_get_folder_type (EFolder *efolder)
+{
+ g_return_val_if_fail (efolder != NULL, E_FOLDER_OTHER);
+ g_return_val_if_fail (E_IS_FOLDER (efolder), E_FOLDER_OTHER);
+
+ return (efolder->type);
+}
+
+
+
+
void
e_folder_construct (EFolder *efolder, EFolderType type,
const char *uri, const char *name,