aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.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-callbacks.c
parent6daf98ee0a7c0de9de5a713b2a529b811e945d06 (diff)
downloadgsoc2013-evolution-944083d8b9805f6d352dac2f09c04f641b84fbc9.tar
gsoc2013-evolution-944083d8b9805f6d352dac2f09c04f641b84fbc9.tar.gz
gsoc2013-evolution-944083d8b9805f6d352dac2f09c04f641b84fbc9.tar.bz2
gsoc2013-evolution-944083d8b9805f6d352dac2f09c04f641b84fbc9.tar.lz
gsoc2013-evolution-944083d8b9805f6d352dac2f09c04f641b84fbc9.tar.xz
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-callbacks.c')
-rw-r--r--mail/mail-callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 1bb6a15871..b21ad96d51 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -203,7 +203,7 @@ empty_subject_destroyed (GtkWidget *widget, gpointer data)
GtkWidget *checkbox;
checkbox = e_message_box_get_checkbox (E_MESSAGE_BOX (widget));
- *show_again = !GTK_TOGGLE_BUTTON (checkbox)->active;
+ *show_again = !gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (checkbox));
}
static gboolean