aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-folder.c
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-03-13 08:10:21 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-13 08:10:21 +0800
commit4ec9945f0595444a94b0816f0146bc797b3037b2 (patch)
tree55c70ce994cee42eec86c375faffabb0044ff404 /shell/e-folder.c
parent4bfd8d8f291baa38ab1bf73eb1618a202834c660 (diff)
downloadgsoc2013-evolution-4ec9945f0595444a94b0816f0146bc797b3037b2.tar.gz
gsoc2013-evolution-4ec9945f0595444a94b0816f0146bc797b3037b2.tar.zst
gsoc2013-evolution-4ec9945f0595444a94b0816f0146bc797b3037b2.zip
added the get_e_folder_type function.
2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-folder.c (e_folder_get_folder_type): added the get_e_folder_type function. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser.h: added a reference to an Evolution::Shell object. * folder-browser-factory.c (folder_browser_set_shell): (folder_browser_control_add_service_repository_interface): (folder_browser_factory): the folder-browser control now implements the Evolution/ServiceRepository interface. Sync for matt svn path=/trunk/; revision=2108
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,