X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtktoggleaction.h;h=4803594ef7d9c03a4a2c8138d51b33682f0e585e;hb=fd51c8f5e9d6fb68c8e81b9b1e2ab80931f963f0;hp=5f725463260996339fcad1e2aab74ef3dcd1fa06;hpb=a0865471e8efef0fc9574107fb5c0b85c8459bde;p=~andy%2Fgtk diff --git a/gtk/gtktoggleaction.h b/gtk/gtktoggleaction.h index 5f7254632..4803594ef 100644 --- a/gtk/gtktoggleaction.h +++ b/gtk/gtktoggleaction.h @@ -14,9 +14,7 @@ * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public - * License along with the Gnome Library; see the file COPYING.LIB. If not, - * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -28,13 +26,13 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ -#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) -#error "Only can be included directly." -#endif - #ifndef __GTK_TOGGLE_ACTION_H__ #define __GTK_TOGGLE_ACTION_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include G_BEGIN_DECLS @@ -55,8 +53,7 @@ struct _GtkToggleAction GtkAction parent; /*< private >*/ - - GtkToggleActionPrivate *GSEAL (private_data); + GtkToggleActionPrivate *private_data; }; struct _GtkToggleActionClass @@ -85,6 +82,10 @@ void gtk_toggle_action_set_draw_as_radio (GtkToggleAction *action, gboolean draw_as_radio); gboolean gtk_toggle_action_get_draw_as_radio (GtkToggleAction *action); +/* private */ +void _gtk_toggle_action_set_active (GtkToggleAction *toggle_action, + gboolean is_active); + G_END_DECLS