aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-02-06 14:31:02 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-02-06 14:31:02 +0800
commit734a27187b7c4495f377c8533f9affdcf860dbbc (patch)
treed4e7496e6844564a592706e0fd3f74e5d4d0e4c6 /camel/providers/local
parent9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd (diff)
downloadgsoc2013-evolution-734a27187b7c4495f377c8533f9affdcf860dbbc.tar.gz
gsoc2013-evolution-734a27187b7c4495f377c8533f9affdcf860dbbc.tar.zst
gsoc2013-evolution-734a27187b7c4495f377c8533f9affdcf860dbbc.zip
changed to return a boolean to indicate if the flags were actually changed
2004-02-06 Not Zed <NotZed@Ximian.com> * camel-folder.c (camel_folder_set_message_flags): changed to return a boolean to indicate if the flags were actually changed or not. Fixed all implementors. svn path=/trunk/; revision=24643
Diffstat (limited to 'camel/providers/local')
-rw-r--r--camel/providers/local/camel-mbox-folder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/providers/local/camel-mbox-folder.c b/camel/providers/local/camel-mbox-folder.c
index 9c3a7036f2..f06d4e31f5 100644
--- a/camel/providers/local/camel-mbox-folder.c
+++ b/camel/providers/local/camel-mbox-folder.c
@@ -59,7 +59,7 @@ static int mbox_lock(CamelLocalFolder *lf, CamelLockType type, CamelException *e
static void mbox_unlock(CamelLocalFolder *lf);
#ifdef STATUS_PINE
-static void mbox_set_message_flags(CamelFolder *folder, const char *uid, guint32 flags, guint32 set);
+static gboolean mbox_set_message_flags(CamelFolder *folder, const char *uid, guint32 flags, guint32 set);
#endif
static void mbox_set_message_user_flag(CamelFolder *folder, const char *uid, const char *name, gboolean value);
@@ -496,7 +496,7 @@ fail:
}
#ifdef STATUS_PINE
-static void
+static gboolean
mbox_set_message_flags(CamelFolder *folder, const char *uid, guint32 flags, guint32 set)
{
/* Basically, if anything could change the Status line, presume it does */
@@ -506,7 +506,7 @@ mbox_set_message_flags(CamelFolder *folder, const char *uid, guint32 flags, guin
set |= CAMEL_MESSAGE_FOLDER_XEVCHANGE|CAMEL_MESSAGE_FOLDER_FLAGGED;
}
- ((CamelFolderClass *)parent_class)->set_message_flags(folder, uid, flags, set);
+ return ((CamelFolderClass *)parent_class)->set_message_flags(folder, uid, flags, set);
}
#endif