X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=gtk%2Fgtkradioaction.h;h=5216d5d87434e8f56d21d2dae3bf6e691a60818e;hb=af7afbbe06690281d9703aaab7d1b9522cede3cb;hp=d39648b4585719f20aefdc41ea361ccfc73cd773;hpb=7f9b4a9615d10faf8adab1495eded22977e1833f;p=~andy%2Fgtk diff --git a/gtk/gtkradioaction.h b/gtk/gtkradioaction.h index d39648b45..5216d5d87 100644 --- a/gtk/gtkradioaction.h +++ b/gtk/gtkradioaction.h @@ -25,8 +25,13 @@ * Modified by the GTK+ Team and others 2003. See the AUTHORS * file for a list of people on the GTK+ Team. See the ChangeLog * files for a list of changes. These files are distributed with - * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ + +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __GTK_RADIO_ACTION_H__ #define __GTK_RADIO_ACTION_H__ @@ -50,7 +55,6 @@ struct _GtkRadioAction GtkToggleAction parent; /*< private >*/ - GtkRadioActionPrivate *private_data; }; @@ -76,6 +80,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);