aboutsummaryrefslogtreecommitdiffstats
path: root/tools/evolution-launch-composer.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2006-01-30 19:54:27 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2006-01-30 19:54:27 +0800
commit4ce156ab5a105682005b33d6636bf7db87f05bcb (patch)
tree432a90016a3c5792692e4194b3999af81a0326a0 /tools/evolution-launch-composer.c
parent561081cbd0f657d5e9484bdf99c40fe820b1350b (diff)
downloadgsoc2013-evolution-4ce156ab5a105682005b33d6636bf7db87f05bcb.tar
gsoc2013-evolution-4ce156ab5a105682005b33d6636bf7db87f05bcb.tar.gz
gsoc2013-evolution-4ce156ab5a105682005b33d6636bf7db87f05bcb.tar.bz2
gsoc2013-evolution-4ce156ab5a105682005b33d6636bf7db87f05bcb.tar.lz
gsoc2013-evolution-4ce156ab5a105682005b33d6636bf7db87f05bcb.tar.xz
gsoc2013-evolution-4ce156ab5a105682005b33d6636bf7db87f05bcb.tar.zst
gsoc2013-evolution-4ce156ab5a105682005b33d6636bf7db87f05bcb.zip
Use g_list_delete_link() instead of g_list_remove_link() +
2006-01-30 Kjartan Maraas <kmaraas@gnome.org> * tools/evolution-launch-composer.c: (do_send): Use g_list_delete_link() instead of g_list_remove_link() + g_list_free_1(). * tools/killev.c: mark a couple vars static and remove a stray semi-colon. svn path=/trunk/; revision=31370
Diffstat (limited to 'tools/evolution-launch-composer.c')
-rw-r--r--tools/evolution-launch-composer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/evolution-launch-composer.c b/tools/evolution-launch-composer.c
index 65745d95b6..ac152dcc20 100644
--- a/tools/evolution-launch-composer.c
+++ b/tools/evolution-launch-composer.c
@@ -162,7 +162,6 @@ do_send (GNOME_Evolution_Composer composer_server)
while (attachments) {
attachment_t *attachment = attachments->data;
- GList *temp;
attach_data = GNOME_Evolution_Composer_AttachmentData__alloc();
attach_data->_maximum = attach_data->_length = attachment->size;
@@ -187,9 +186,7 @@ do_send (GNOME_Evolution_Composer composer_server)
free_attachment (attachment);
- temp = attachments;
- attachments = g_list_remove_link (attachments, attachments);
- g_list_free_1 (temp);
+ attachments = g_list_delete_link (attachments, attachments);
}
to_list = GNOME_Evolution_Composer_RecipientList__alloc ();