aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-10-24 03:57:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-10-24 03:57:58 +0800
commitb1be2a6d83aa9b9404ca735e73e73dc903625dc7 (patch)
tree36ede0609588101ba900b8c018462b7c7a3591c9 /camel/camel-folder.c
parent18ca85654d06140f30ea9db347dcf4f7cf00d7f0 (diff)
downloadgsoc2013-evolution-b1be2a6d83aa9b9404ca735e73e73dc903625dc7.tar.gz
gsoc2013-evolution-b1be2a6d83aa9b9404ca735e73e73dc903625dc7.tar.zst
gsoc2013-evolution-b1be2a6d83aa9b9404ca735e73e73dc903625dc7.zip
Removed unneeded CAMEL_OBJECT() casts.
2003-10-23 Jeffrey Stedfast <fejj@ximian.com> * *.c: Removed unneeded CAMEL_OBJECT() casts. svn path=/trunk/; revision=23052
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 034905ed2b..f682ee25ca 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -702,7 +702,7 @@ set_message_flags(CamelFolder *folder, const char *uid, guint32 flags, guint32 s
camel_folder_summary_touch(folder->summary);
camel_folder_summary_info_free(folder->summary, info);
- camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", (char *) uid);
+ camel_object_trigger_event (folder, "message_changed", (char *) uid);
}
/**
@@ -779,7 +779,7 @@ set_message_user_flag(CamelFolder *folder, const char *uid, const char *name, gb
if (camel_flag_set(&info->user_flags, name, value)) {
info->flags |= CAMEL_MESSAGE_FOLDER_FLAGGED;
camel_folder_summary_touch(folder->summary);
- camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", (char *) uid);
+ camel_object_trigger_event (folder, "message_changed", (char *) uid);
}
camel_folder_summary_info_free(folder->summary, info);
}
@@ -859,7 +859,7 @@ set_message_user_tag(CamelFolder *folder, const char *uid, const char *name, con
if (camel_tag_set(&info->user_tags, name, value)) {
info->flags |= CAMEL_MESSAGE_FOLDER_FLAGGED;
camel_folder_summary_touch(folder->summary);
- camel_object_trigger_event(CAMEL_OBJECT(folder), "message_changed", (char *) uid);
+ camel_object_trigger_event (folder, "message_changed", (char *) uid);
}
camel_folder_summary_info_free(folder->summary, info);
}
@@ -1289,7 +1289,7 @@ transfer_message_to (CamelFolder *source, const char *uid, CamelFolder *dest,
}
camel_folder_append_message (dest, msg, info, transferred_uid, ex);
- camel_object_unref (CAMEL_OBJECT (msg));
+ camel_object_unref (msg);
if (delete_original && !camel_exception_is_set (ex))
camel_folder_set_message_flags (source, uid, CAMEL_MESSAGE_DELETED|CAMEL_MESSAGE_SEEN, ~0);
@@ -1415,7 +1415,7 @@ camel_folder_delete (CamelFolder *folder)
CAMEL_FOLDER_UNLOCK (folder, lock);
- camel_object_trigger_event (CAMEL_OBJECT (folder), "deleted", NULL);
+ camel_object_trigger_event (folder, "deleted", NULL);
}
static void
@@ -1451,7 +1451,7 @@ camel_folder_rename(CamelFolder *folder, const char *new)
CF_CLASS (folder)->rename(folder, new);
- camel_object_trigger_event (CAMEL_OBJECT (folder), "renamed", old);
+ camel_object_trigger_event (folder, "renamed", old);
g_free(old);
}
@@ -1507,7 +1507,7 @@ thaw (CamelFolder * folder)
CAMEL_FOLDER_UNLOCK(folder, change_lock);
if (info) {
- camel_object_trigger_event(CAMEL_OBJECT(folder), "folder_changed", info);
+ camel_object_trigger_event (folder, "folder_changed", info);
camel_folder_change_info_free(info);
}
}