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-multipart.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-multipart.c')
-rw-r--r-- | camel/camel-multipart.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/camel/camel-multipart.c b/camel/camel-multipart.c index 6393e29251..3ec60147d5 100644 --- a/camel/camel-multipart.c +++ b/camel/camel-multipart.c @@ -147,7 +147,7 @@ camel_multipart_get_type (void) static void unref_part (gpointer data, gpointer user_data) { - CamelObject *part = CAMEL_OBJECT (data); + CamelObject *part = data; camel_object_unref (part); } @@ -176,7 +176,7 @@ static void add_part (CamelMultipart *multipart, CamelMimePart *part) { multipart->parts = g_list_append (multipart->parts, part); - camel_object_ref (CAMEL_OBJECT (part)); + camel_object_ref (part); } /** @@ -200,7 +200,7 @@ static void add_part_at (CamelMultipart *multipart, CamelMimePart *part, guint index) { multipart->parts = g_list_insert (multipart->parts, part, index); - camel_object_ref (CAMEL_OBJECT (part)); + camel_object_ref (part); } /** @@ -230,7 +230,7 @@ remove_part (CamelMultipart *multipart, CamelMimePart *part) if (!multipart->parts) return; multipart->parts = g_list_remove (multipart->parts, part); - camel_object_unref (CAMEL_OBJECT (part)); + camel_object_unref (part); } /** @@ -272,7 +272,7 @@ remove_part_at (CamelMultipart *multipart, guint index) multipart->parts = g_list_remove_link (parts_list, part_to_remove); if (part_to_remove->data) - camel_object_unref (CAMEL_OBJECT (part_to_remove->data)); + camel_object_unref (part_to_remove->data); g_list_free_1 (part_to_remove); return removed_part; |