diff options
Diffstat (limited to 'shell/e-service.c')
-rw-r--r-- | shell/e-service.c | 6 |
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; } |