aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-12-17 22:29:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-12-17 22:30:50 +0800
commitd17065a40d223194714e8c86b82e7adbabadb484 (patch)
treed9b39264814e28427b9861d42b4fb37eb9e71581 /mail
parent14d333f14e71885e770683010fa0ee48f77a63a0 (diff)
downloadgsoc2013-evolution-d17065a40d223194714e8c86b82e7adbabadb484.tar
gsoc2013-evolution-d17065a40d223194714e8c86b82e7adbabadb484.tar.gz
gsoc2013-evolution-d17065a40d223194714e8c86b82e7adbabadb484.tar.bz2
gsoc2013-evolution-d17065a40d223194714e8c86b82e7adbabadb484.tar.lz
gsoc2013-evolution-d17065a40d223194714e8c86b82e7adbabadb484.tar.xz
gsoc2013-evolution-d17065a40d223194714e8c86b82e7adbabadb484.tar.zst
gsoc2013-evolution-d17065a40d223194714e8c86b82e7adbabadb484.zip
Fix compiler warnings.
gtk_dialog_new_with_buttons() requires some buttons, otherwise use gtk_dialog_new() and set title/transient-for/etc properties manually.
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-send-recv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index b642326aca..d7ce20d457 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -506,13 +506,14 @@ build_dialog (GtkWindow *parent,
g_free (transport_uid);
}
- send_recv_dialog = gtk_dialog_new_with_buttons (
- _("Send & Receive Mail"), parent, 0, NULL);
+ send_recv_dialog = gtk_dialog_new ();
gd = GTK_DIALOG (send_recv_dialog);
gtk_window_set_modal (GTK_WINDOW (send_recv_dialog), FALSE);
gtk_window_set_icon_name (GTK_WINDOW (gd), "mail-send-receive");
gtk_window_set_default_size (GTK_WINDOW (gd), 600, 200);
+ gtk_window_set_title (GTK_WINDOW (gd), _("Send & Receive Mail"));
+ gtk_window_set_transient_for (GTK_WINDOW (gd), parent);
e_restore_window (
GTK_WINDOW (gd),