From 91318dc3cfd2e9019d575d88a24be69055c155bc Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Wed, 18 Jul 2001 16:02:59 +0000 Subject: Add GTK_WIDGET to the charset picker. Reportedly prevent a craash for 2001-07-18 Peter Williams * mail-accounts.c (construct): Add GTK_WIDGET to the charset picker. Reportedly prevent a craash for someone... ? svn path=/trunk/; revision=11202 --- mail/ChangeLog | 3 +++ mail/mail-accounts.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 + * 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); -- cgit