styleproperties: Move private struct declaration into public header

This commit is contained in:
Benjamin Otte 2011-12-21 08:00:45 +01:00
parent a61ba41167
commit d1c92c38df
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,6 @@
* should use the APIs provided by #GtkThemingEngine instead. * should use the APIs provided by #GtkThemingEngine instead.
*/ */
typedef struct GtkStylePropertiesPrivate GtkStylePropertiesPrivate;
typedef struct PropertyData PropertyData; typedef struct PropertyData PropertyData;
typedef struct ValueData ValueData; typedef struct ValueData ValueData;
@ -73,7 +72,7 @@ struct PropertyData
GArray *values; GArray *values;
}; };
struct GtkStylePropertiesPrivate struct _GtkStylePropertiesPrivate
{ {
GHashTable *color_map; GHashTable *color_map;
GHashTable *properties; GHashTable *properties;

View File

@ -39,6 +39,7 @@ G_BEGIN_DECLS
typedef struct _GtkStyleProperties GtkStyleProperties; typedef struct _GtkStyleProperties GtkStyleProperties;
typedef struct _GtkStylePropertiesClass GtkStylePropertiesClass; typedef struct _GtkStylePropertiesClass GtkStylePropertiesClass;
typedef struct _GtkStylePropertiesPrivate GtkStylePropertiesPrivate;
typedef struct _GtkSymbolicColor GtkSymbolicColor; typedef struct _GtkSymbolicColor GtkSymbolicColor;
typedef struct _GtkGradient GtkGradient; typedef struct _GtkGradient GtkGradient;
@ -46,7 +47,7 @@ typedef struct _GtkGradient GtkGradient;
struct _GtkStyleProperties struct _GtkStyleProperties
{ {
GObject parent_object; GObject parent_object;
gpointer priv; GtkStylePropertiesPrivate *priv;
}; };
struct _GtkStylePropertiesClass struct _GtkStylePropertiesClass