summaryrefslogtreecommitdiff
path: root/gtk/gtktogglebutton.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-19 18:18:02 +0200
committerJavier Jardón <jjardon@gnome.org>2010-10-26 06:07:42 +0200
commit8991603c88d912c3d0c9d8dd8ab42e66954d9f30 (patch)
treed8697ca695228e72eab45fd2c7d375d02a1690a2 /gtk/gtktogglebutton.h
parent49446ed57c68dc533fd086646f8061c1a41f7ba1 (diff)
downloadgtk+-8991603c88d912c3d0c9d8dd8ab42e66954d9f30.tar.gz
gtktogglebutton: move public members to private structure
Diffstat (limited to 'gtk/gtktogglebutton.h')
-rw-r--r--gtk/gtktogglebutton.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/gtk/gtktogglebutton.h b/gtk/gtktogglebutton.h
index 1acab387d3..48b477cd82 100644
--- a/gtk/gtktogglebutton.h
+++ b/gtk/gtktogglebutton.h
@@ -44,17 +44,16 @@ G_BEGIN_DECLS
#define GTK_IS_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_BUTTON))
#define GTK_TOGGLE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass))
-
-typedef struct _GtkToggleButton GtkToggleButton;
-typedef struct _GtkToggleButtonClass GtkToggleButtonClass;
+typedef struct _GtkToggleButton GtkToggleButton;
+typedef struct _GtkToggleButtonPrivate GtkToggleButtonPrivate;
+typedef struct _GtkToggleButtonClass GtkToggleButtonClass;
struct _GtkToggleButton
{
+ /*< private >*/
GtkButton button;
- guint GSEAL (active) : 1;
- guint GSEAL (draw_indicator) : 1;
- guint GSEAL (inconsistent) : 1;
+ GtkToggleButtonPrivate *priv;
};
struct _GtkToggleButtonClass