aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 87b5cebedf..b9f1f70316 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -20,6 +20,9 @@
*
*/
+#include "config.h"
+#include "mail-send-recv.h"
+
#include <stdio.h>
#include <string.h>
@@ -43,6 +46,7 @@
#include <gtk/gtk.h>
#include <libgnomeui/gnome-stock.h>
#include <libgnomeui/gnome-dialog.h>
+#include <libgnomeui/gnome-window-icon.h>
/* send/receive email */
@@ -521,7 +525,7 @@ void mail_send_receive(void)
smtp one. */
data = build_dialogue(sources, outbox_folder, account->transport->url);
scan = data->infos;
- gd = data->gd;
+ gd = GTK_WIDGET(data->gd);
gtk_signal_connect((GtkObject *)gd, "destroy", gtk_widget_destroyed, &gd);
while (scan) {
struct _send_info *info = scan->data;