diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2010-05-19 15:12:49 -0400 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2010-05-19 15:16:46 -0400 |
commit | 85b53969b24d318b219663841e678943516f443a (patch) | |
tree | f349c4942be9223d003bce228b838c70fa02b5c7 /gtk/gtkradioaction.h | |
parent | c51f96578226ee106a59d52bf1920f50adb16ae1 (diff) | |
download | gtk+-85b53969b24d318b219663841e678943516f443a.tar.gz |
[PATCH] add the binding friendly join_group method to GtkRadioAction
* Due to object ownership issues it is impossible to correctly use
get_group/set_group from a GI binding
* join_group is safer because at the binding level it works with individual
GtkRadioAction objects and not with the list of objects that gets
modified in the library
Diffstat (limited to 'gtk/gtkradioaction.h')
-rw-r--r-- | gtk/gtkradioaction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkradioaction.h b/gtk/gtkradioaction.h index d4a971254c..e0f5df1b3e 100644 --- a/gtk/gtkradioaction.h +++ b/gtk/gtkradioaction.h @@ -81,6 +81,8 @@ GtkRadioAction *gtk_radio_action_new (const gchar *name, GSList *gtk_radio_action_get_group (GtkRadioAction *action); void gtk_radio_action_set_group (GtkRadioAction *action, GSList *group); +void gtk_radio_action_join_group (GtkRadioAction *action, + GtkRadioAction *group_source); gint gtk_radio_action_get_current_value (GtkRadioAction *action); void gtk_radio_action_set_current_value (GtkRadioAction *action, gint current_value); |