aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-service.c
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-03-12 23:17:01 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-12 23:17:01 +0800
commit5adb1dedf6e2fedd68edecc67f8badb28994dce7 (patch)
tree7cb2cec0e80c9521287661870618ee35549c1451 /shell/e-service.c
parent6e515d204a3477cabe2d5dd934ee45406c528ab5 (diff)
downloadgsoc2013-evolution-5adb1dedf6e2fedd68edecc67f8badb28994dce7.tar
gsoc2013-evolution-5adb1dedf6e2fedd68edecc67f8badb28994dce7.tar.gz
gsoc2013-evolution-5adb1dedf6e2fedd68edecc67f8badb28994dce7.tar.bz2
gsoc2013-evolution-5adb1dedf6e2fedd68edecc67f8badb28994dce7.tar.lz
gsoc2013-evolution-5adb1dedf6e2fedd68edecc67f8badb28994dce7.tar.xz
gsoc2013-evolution-5adb1dedf6e2fedd68edecc67f8badb28994dce7.tar.zst
gsoc2013-evolution-5adb1dedf6e2fedd68edecc67f8badb28994dce7.zip
Implementation of the service repository interface as a bonobo object.
2000-03-12 bertrand <bertrand@helixcode.com> * shell/evolution-service-repository.c: * shell/evolution-service-repository.h: Implementation of the service repository interface as a bonobo object. * shell/evolution-service-repository.idl: new file. Contains the definition for the service repository interface. * shell/Shell.idl: move the shell related stuff here svn path=/trunk/; revision=2103
Diffstat (limited to 'shell/e-service.c')
-rw-r--r--shell/e-service.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/e-service.c b/shell/e-service.c
index f567487ef4..c8c52383f7 100644
--- a/shell/e-service.c
+++ b/shell/e-service.c
@@ -81,10 +81,10 @@ E_MAKE_TYPE (e_service, "EService", EService, e_service_class_init, e_service_in
EFolder *
e_service_get_root_efolder (EService *eservice)
{
- g_return_if_fail (eservice != NULL);
- g_return_if_fail (E_IS_SERVICE (eservice));
-
+ g_return_val_if_fail (eservice != NULL, NULL);
+ g_return_val_if_fail (E_IS_SERVICE (eservice), NULL);
+ return eservice->root_efolder;
}