aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-19 00:02:59 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-19 00:02:59 +0800
commit91318dc3cfd2e9019d575d88a24be69055c155bc (patch)
treebfdf97109ec554431f16549b1e4862364305e3bb /mail/mail-accounts.c
parentde7088e6b8442a7bb0e77d882b789f5ca0166f9d (diff)
downloadgsoc2013-evolution-91318dc3cfd2e9019d575d88a24be69055c155bc.tar
gsoc2013-evolution-91318dc3cfd2e9019d575d88a24be69055c155bc.tar.gz
gsoc2013-evolution-91318dc3cfd2e9019d575d88a24be69055c155bc.tar.bz2
gsoc2013-evolution-91318dc3cfd2e9019d575d88a24be69055c155bc.tar.lz
gsoc2013-evolution-91318dc3cfd2e9019d575d88a24be69055c155bc.tar.xz
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/mail-accounts.c')
-rw-r--r--mail/mail-accounts.c2
1 files changed, 1 insertions, 1 deletions
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);