diff options
author | Peter Williams <peterw@ximian.com> | 2001-07-19 00:02:59 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-07-19 00:02:59 +0800 |
commit | 91318dc3cfd2e9019d575d88a24be69055c155bc (patch) | |
tree | bfdf97109ec554431f16549b1e4862364305e3bb /mail | |
parent | de7088e6b8442a7bb0e77d882b789f5ca0166f9d (diff) | |
download | gsoc2013-evolution-91318dc3cfd2e9019d575d88a24be69055c155bc.tar.gz gsoc2013-evolution-91318dc3cfd2e9019d575d88a24be69055c155bc.tar.zst gsoc2013-evolution-91318dc3cfd2e9019d575d88a24be69055c155bc.zip |
Add GTK_WIDGET to the charset picker. Reportedly prevent a craash for
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... ?
svn path=/trunk/; revision=11202
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-accounts.c | 2 |
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); |