aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-accounts.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 376e73c2a3..8c4d48caf5 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-07-18 Peter Williams <peterw@ximian.com>
+ * mail-accounts.c (construct): Add GTK_WIDGET to the charset
+ picker. Reportedly prevent a craash for someone... ?
+
* mail-config.glade: Typo fix.
Later: And actually fix the typo.
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index e47f7651e7..cbf20fa1db 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -826,7 +826,7 @@ construct (MailAccountsDialog *dialog)
dialog->charset = GTK_OPTION_MENU (glade_xml_get_widget (gui, "omenuCharset"));
menu = e_charset_picker_new (mail_config_get_default_charset ());
- gtk_option_menu_set_menu (dialog->charset, menu);
+ gtk_option_menu_set_menu (dialog->charset, GTK_WIDGET (menu));
gtk_signal_connect (GTK_OBJECT (menu), "deactivate",
GTK_SIGNAL_FUNC (charset_menu_deactivate), NULL);