summaryrefslogtreecommitdiff
path: root/gtk/gtkradiobutton.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-08-14 15:44:35 +0200
committerBenjamin Otte <otte@redhat.com>2014-08-16 16:34:14 +0200
commitb675a13233c890a188d99b6f1b66b428a7078f6a (patch)
tree4e6d176a6f82e8416d545abc2c3327019bf545fb /gtk/gtkradiobutton.c
parent1abe9237408e9ae65db91cc0b9593207d548adf6 (diff)
downloadgtk+-b675a13233c890a188d99b6f1b66b428a7078f6a.tar.gz
button: Remove depressed_on_activate
All buttons should always be marked as :active when they are pressed. That includes checkboxes (which are never activated in real code anyway, so this change pretty much doesn't matter).
Diffstat (limited to 'gtk/gtkradiobutton.c')
-rw-r--r--gtk/gtkradiobutton.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index 6d3dec3a24..131348a939 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -208,8 +208,6 @@ gtk_radio_button_init (GtkRadioButton *radio_button)
_gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio_button), TRUE);
- GTK_BUTTON (radio_button)->priv->depress_on_activate = FALSE;
-
priv->group = g_slist_prepend (NULL, radio_button);
gtk_widget_set_state_flags (GTK_WIDGET (radio_button), GTK_STATE_FLAG_CHECKED, TRUE);