aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-15 10:32:53 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-15 10:32:53 +0800
commit013b2e0078b62ce13eb679837cdf6aa1d20ec1d0 (patch)
tree2dfdf68981f867ffd8d97dc2b7a7f4125f6cc276
parent2da82ca26261d3772c9c54d28c3195a7735f169f (diff)
downloadgsoc2013-evolution-013b2e0078b62ce13eb679837cdf6aa1d20ec1d0.tar
gsoc2013-evolution-013b2e0078b62ce13eb679837cdf6aa1d20ec1d0.tar.gz
gsoc2013-evolution-013b2e0078b62ce13eb679837cdf6aa1d20ec1d0.tar.bz2
gsoc2013-evolution-013b2e0078b62ce13eb679837cdf6aa1d20ec1d0.tar.lz
gsoc2013-evolution-013b2e0078b62ce13eb679837cdf6aa1d20ec1d0.tar.xz
gsoc2013-evolution-013b2e0078b62ce13eb679837cdf6aa1d20ec1d0.tar.zst
gsoc2013-evolution-013b2e0078b62ce13eb679837cdf6aa1d20ec1d0.zip
Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminate
2001-03-14 Jeffrey Stedfast <fejj@ximian.com> * session.c (mail_session_init): Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminate the list of buttons. * mail-mt.c (do_get_accept): Same. svn path=/trunk/; revision=8719
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-mt.c3
-rw-r--r--mail/session.c3
3 files changed, 8 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 7b765025cb..08272a7218 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,6 +1,10 @@
2001-03-14 Jeffrey Stedfast <fejj@ximian.com>
* session.c (mail_session_init): Tell camel to init NSS.
+ (mail_session_accept_dialog): Doh! NULL terminate the list of
+ buttons.
+
+ * mail-mt.c (do_get_accept): Same.
2001-03-14 Ettore Perazzoli <ettore@ximian.com>
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index e42387a0d6..4a074b9a1f 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -665,7 +665,8 @@ do_get_accept (struct _mail_msg *mm)
dialog = gnome_dialog_new (_("Do you accept?"),
GNOME_STOCK_BUTTON_YES,
- GNOME_STOCK_BUTTON_NO);
+ GNOME_STOCK_BUTTON_NO,
+ NULL);
gnome_dialog_set_default (GNOME_DIALOG (dialog), 1);
label = gtk_label_new (m->prompt);
diff --git a/mail/session.c b/mail/session.c
index 49e740c1d8..f9bcee3667 100644
--- a/mail/session.c
+++ b/mail/session.c
@@ -90,7 +90,8 @@ mail_session_accept_dialog (const char *prompt, const char *key, gboolean async)
if (!async) {
dialog = gnome_dialog_new (_("Do you accept?"),
GNOME_STOCK_BUTTON_YES,
- GNOME_STOCK_BUTTON_NO);
+ GNOME_STOCK_BUTTON_NO,
+ NULL);
gnome_dialog_set_default (GNOME_DIALOG (dialog), 1);
label = gtk_label_new (prompt);