diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-10-24 03:57:58 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-10-24 03:57:58 +0800 |
commit | b1be2a6d83aa9b9404ca735e73e73dc903625dc7 (patch) | |
tree | 36ede0609588101ba900b8c018462b7c7a3591c9 /camel/camel-store.c | |
parent | 18ca85654d06140f30ea9db347dcf4f7cf00d7f0 (diff) | |
download | gsoc2013-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-store.c')
-rw-r--r-- | camel/camel-store.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-store.c b/camel/camel-store.c index 3c49f312ec..96d840d2d3 100644 --- a/camel/camel-store.c +++ b/camel/camel-store.c @@ -424,7 +424,7 @@ camel_store_rename_folder (CamelStore *store, const char *old_name, const char * reninfo.old_base = (char *)old_name; reninfo.new = ((CamelStoreClass *)((CamelObject *)store)->klass)->get_folder_info(store, new_name, flags, ex); if (reninfo.new != NULL) { - camel_object_trigger_event(CAMEL_OBJECT(store), "folder_renamed", &reninfo); + camel_object_trigger_event (store, "folder_renamed", &reninfo); ((CamelStoreClass *)((CamelObject *)store)->klass)->free_folder_info(store, reninfo.new); } } else { @@ -490,7 +490,7 @@ init_trash (CamelStore *store) if (store->vtrash) { /* FIXME: this should probably use the object bag or another one ? ... */ /* attach to the finalise event of the vtrash */ - camel_object_hook_event (CAMEL_OBJECT (store->vtrash), "finalize", + camel_object_hook_event (store->vtrash, "finalize", trash_finalize, store); /* add all the pre-opened folders to the vtrash */ @@ -512,14 +512,14 @@ static CamelFolder * get_trash (CamelStore *store, CamelException *ex) { if (store->vtrash) { - camel_object_ref (CAMEL_OBJECT (store->vtrash)); + camel_object_ref (store->vtrash); return store->vtrash; } else { CS_CLASS (store)->init_trash (store); if (store->vtrash) { /* We don't ref here because we don't want the store to own a ref on the trash folder */ - /*camel_object_ref (CAMEL_OBJECT (store->vtrash));*/ + /*camel_object_ref (store->vtrash);*/ return store->vtrash; } else { w(g_warning ("This store does not support vTrash.")); |