diff options
-rw-r--r-- | gtk/gtkwidget.h | 20 | ||||
-rw-r--r-- | gtk/gtkwidgetprivate.h | 21 |
2 files changed, 21 insertions, 20 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index a2366d0092..c725fcba8c 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -66,7 +66,6 @@ typedef enum typedef struct _GtkWidgetPrivate GtkWidgetPrivate; typedef struct _GtkWidgetClass GtkWidgetClass; typedef struct _GtkWidgetClassPrivate GtkWidgetClassPrivate; -typedef struct _GtkWidgetAuxInfo GtkWidgetAuxInfo; /** * GtkAllocation: @@ -609,25 +608,6 @@ struct _GtkWidgetClass void (*_gtk_reserved7) (void); }; -/** - * GtkWidgetAuxInfo: - * @width: the widget’s width - * @height: the widget’s height - * @halign: the widget’s horizontal alignment - * @valign: the widget’s horizontal alignment - * @margin: the widget’s #GtkBorder margins - * - */ -struct _GtkWidgetAuxInfo -{ - gint width; - gint height; - - guint halign : 4; - guint valign : 4; - - GtkBorder margin; -}; GDK_AVAILABLE_IN_ALL GType gtk_widget_get_type (void) G_GNUC_CONST; diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h index 68488064b1..55ec21450b 100644 --- a/gtk/gtkwidgetprivate.h +++ b/gtk/gtkwidgetprivate.h @@ -36,6 +36,27 @@ G_BEGIN_DECLS #define GTK_STATE_FLAGS_BITS 12 +/** + * GtkWidgetAuxInfo: + * @width: the widget’s width + * @height: the widget’s height + * @halign: the widget’s horizontal alignment + * @valign: the widget’s horizontal alignment + * @margin: the widget’s #GtkBorder margins + * + */ +typedef struct _GtkWidgetAuxInfo GtkWidgetAuxInfo; +struct _GtkWidgetAuxInfo +{ + gint width; + gint height; + + guint halign : 4; + guint valign : 4; + + GtkBorder margin; +}; + struct _GtkWidgetPrivate { /* The state of the widget. Needs to be able to hold all GtkStateFlags bits |