aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index e147709219..0109859349 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -2333,17 +2333,18 @@ cleanup_edit_messages (gpointer in_data, gpointer op_data,
int i;
for (i = 0; i < data->messages->len; i++) {
- GtkWidget *composer;
+ EMsgComposer *composer;
composer = e_msg_composer_new_with_message (data->messages->pdata[i]);
+ camel_object_unref (CAMEL_OBJECT (data->messages->pdata[i]));
+ if (!composer)
+ continue;
if (input->signal)
gtk_signal_connect (GTK_OBJECT (composer), "send",
input->signal, NULL);
- gtk_widget_show (composer);
-
- camel_object_unref (CAMEL_OBJECT (data->messages->pdata[i]));
+ gtk_widget_show (GTK_WIDGET (composer));
}
g_ptr_array_free (input->uids, TRUE);
>shaun2006-12-151-0/+4 * - Update maintainer's addresspav2006-04-091-1/+1 * - Pass maintainership (back) to submitter.tdb2006-02-231-6/+6 * - Add SHA256pav2005-11-251-0/+1 * Drop MAINTAINERmnag2005-10-301-1/+1 * Update to 1.2.3arved2004-04-292-4/+3 * SIZEify (maintainer timeout)trevor2004-03-311-0/+1