Commit f1414a12 authored by Matthias Clasen's avatar Matthias Clasen

Move GtkWidgetAuxInfo struct to private headers

There's no API returning such a struct, it is entirely internal.
Therefore, don't expose it in public headers.
parent 51a1bc21
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment