diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-02-22 17:31:40 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-02-22 17:31:40 +0000 |
commit | c2259c7d17dbca2b80b8218e01ad4b62e94517bd (patch) | |
tree | 2b0b0b64f28cae7eb39949825a98f623d72069bc /gtk | |
parent | cba2d3492743309413a39a9b650849203526fbb0 (diff) | |
download | gdk-pixbuf-c2259c7d17dbca2b80b8218e01ad4b62e94517bd.tar.gz |
Emit notify::active here, when changing the value of this property.
2006-02-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkradiobutton.c (gtk_radio_button_clicked): Emit notify::active
here, when changing the value of this property. (#331651)
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkradiobutton.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index 1c42cf127..3bb6179d6 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -654,7 +654,11 @@ gtk_radio_button_clicked (GtkButton *button) gtk_widget_set_state (GTK_WIDGET (button), new_state); if (toggled) - gtk_toggle_button_toggled (toggle_button); + { + gtk_toggle_button_toggled (toggle_button); + + g_object_notify (G_OBJECT (toggle_button), "active"); + } _gtk_button_set_depressed (button, depressed); |