* This and another previous changes fixes NB#61982
authorSergio Villar Senin <svillar@igalia.com>
Mon, 2 Jul 2007 18:03:48 +0000 (18:03 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Mon, 2 Jul 2007 18:03:48 +0000 (18:03 +0000)
pmo-trunk-r2541

src/modest-ui-actions.c

index add73d1..6f62c49 100644 (file)
@@ -1758,7 +1758,7 @@ modest_ui_actions_on_send (GtkWidget *widget, ModestMsgEditWindow *edit_window)
        modest_msg_edit_window_set_sent (edit_window, TRUE);
 
        /* Save settings and close the window: */
-       gtk_widget_destroy (GTK_WIDGET (edit_window));
+       modest_ui_actions_on_close_window (NULL, MODEST_WINDOW (edit_window));
 }
 
 void