radiobutton: build the new state flags from the previous flags on click
This fixes e.g. sensitivity issues with GtkRadioButton on state update. https://bugzilla.gnome.org/show_bug.cgi?id=645172
This commit is contained in:
parent
9b93ca2848
commit
ef5fb8d673
@ -800,6 +800,8 @@ gtk_radio_button_clicked (GtkButton *button)
|
||||
|
||||
g_object_ref (GTK_WIDGET (button));
|
||||
|
||||
new_state = gtk_widget_get_state_flags (GTK_WIDGET (button));
|
||||
|
||||
if (gtk_toggle_button_get_active (toggle_button))
|
||||
{
|
||||
tmp_button = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user