aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-06 02:25:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-06 02:25:51 +0800
commit944083d8b9805f6d352dac2f09c04f641b84fbc9 (patch)
treee8994f08ca3a6a7c5abfc6a24b2e8023b2d421d8 /mail/mail-accounts.c
parent6daf98ee0a7c0de9de5a713b2a529b811e945d06 (diff)
downloadgsoc2013-evolution-944083d8b9805f6d352dac2f09c04f641b84fbc9.tar.gz
gsoc2013-evolution-944083d8b9805f6d352dac2f09c04f641b84fbc9.tar.zst
gsoc2013-evolution-944083d8b9805f6d352dac2f09c04f641b84fbc9.zip
Don't access the `active` data member of a GtkToggleButton directly - bad
2001-03-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c: Don't access the `active` data member of a GtkToggleButton directly - bad programming, shame on me. * mail-account-editor.c: Same here. * mail-accounts.c: And here too. * mail-callbacks.c (empty_subject_destroyed): And finally here. * mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type for the multipart. Hmmm, still doesn't wrap correctly. NotZed? Ideas? (pgp_mime_part_encrypt): Here too. svn path=/trunk/; revision=8560
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 c258c28167..e7bcdaa0e2 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -369,7 +369,7 @@ news_delete (GtkButton *button, gpointer data)
static void
send_html_toggled (GtkToggleButton *button, gpointer data)
{
- mail_config_set_send_html (button->active);
+ mail_config_set_send_html (gtk_toggle_button_get_active (button));
}
static void