aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/tools/evolution-addressbook-export-list-folders.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/tools/evolution-addressbook-export-list-folders.c')
-rw-r--r--addressbook/tools/evolution-addressbook-export-list-folders.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/addressbook/tools/evolution-addressbook-export-list-folders.c b/addressbook/tools/evolution-addressbook-export-list-folders.c
index 946deb6cb3..2ff9d790a4 100644
--- a/addressbook/tools/evolution-addressbook-export-list-folders.c
+++ b/addressbook/tools/evolution-addressbook-export-list-folders.c
@@ -31,7 +31,7 @@
#include "evolution-addressbook-export.h"
-guint
+void
action_list_folders_init (ActionContext *p_actctx)
{
ESourceRegistry *registry;
@@ -67,9 +67,9 @@ action_list_folders_init (ActionContext *p_actctx)
client = e_book_client_connect_sync (source, NULL, &error);
/* Sanity check. */
- g_return_val_if_fail (
+ g_return_if_fail (
((client != NULL) && (error == NULL)) ||
- ((client == NULL) && (error != NULL)), FAILED);
+ ((client == NULL) && (error != NULL)));
if (error != NULL) {
g_warning (
@@ -111,6 +111,4 @@ action_list_folders_init (ActionContext *p_actctx)
if (outputfile)
fclose (outputfile);
-
- return SUCCESS;
}