summaryrefslogtreecommitdiff
path: root/gtk/gtkradiobutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-04-03 07:11:09 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-04-03 07:11:09 +0000
commit0908bbcd7f55bfa5b6c3d0c13d3eb4c78486b656 (patch)
tree8e8a371e604a394e02b710bb45d5a88e6272a06f /gtk/gtkradiobutton.c
parent7dbafd439851b15bd5a87e65e2493d2f4d5e282b (diff)
downloadgdk-pixbuf-0908bbcd7f55bfa5b6c3d0c13d3eb4c78486b656.tar.gz
Add a "group" property like the one found in radio buttons.
2005-04-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkradiomenuitem.c: Add a "group" property like the one found in radio buttons. * gtk/gtkradiobutton.c (gtk_radio_button_class_init): Fix a typo in the docs. (gtk_radio_button_set_group): Add change notification.
Diffstat (limited to 'gtk/gtkradiobutton.c')
-rw-r--r--gtk/gtkradiobutton.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index 4fc4df5ad..3d2d54c51 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -126,7 +126,7 @@ gtk_radio_button_class_init (GtkRadioButtonClass *class)
class->group_changed = NULL;
/**
- * GtkStyle::group-changed:
+ * GtkRadioButton::group-changed:
* @style: the object which received the signal
*
* Emitted when the group of radio buttons that a radio button belongs
@@ -258,6 +258,7 @@ gtk_radio_button_set_group (GtkRadioButton *radio_button,
g_object_ref (radio_button);
+ g_object_notify (G_OBJECT (radio_button), "group");
g_signal_emit (radio_button, group_changed_signal, 0);
if (old_group_singleton)
{