From d1c92c38df7c09d55e563afc93a5c8820bd7503e Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 21 Dec 2011 08:00:45 +0100 Subject: [PATCH] styleproperties: Move private struct declaration into public header --- gtk/gtkstyleproperties.c | 3 +-- gtk/gtkstyleproperties.h | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c index 8b931ad20a..906ded776b 100644 --- a/gtk/gtkstyleproperties.c +++ b/gtk/gtkstyleproperties.c @@ -58,7 +58,6 @@ * should use the APIs provided by #GtkThemingEngine instead. */ -typedef struct GtkStylePropertiesPrivate GtkStylePropertiesPrivate; typedef struct PropertyData PropertyData; typedef struct ValueData ValueData; @@ -73,7 +72,7 @@ struct PropertyData GArray *values; }; -struct GtkStylePropertiesPrivate +struct _GtkStylePropertiesPrivate { GHashTable *color_map; GHashTable *properties; diff --git a/gtk/gtkstyleproperties.h b/gtk/gtkstyleproperties.h index 0cc478892b..e6e84f4df2 100644 --- a/gtk/gtkstyleproperties.h +++ b/gtk/gtkstyleproperties.h @@ -39,6 +39,7 @@ G_BEGIN_DECLS typedef struct _GtkStyleProperties GtkStyleProperties; typedef struct _GtkStylePropertiesClass GtkStylePropertiesClass; +typedef struct _GtkStylePropertiesPrivate GtkStylePropertiesPrivate; typedef struct _GtkSymbolicColor GtkSymbolicColor; typedef struct _GtkGradient GtkGradient; @@ -46,7 +47,7 @@ typedef struct _GtkGradient GtkGradient; struct _GtkStyleProperties { GObject parent_object; - gpointer priv; + GtkStylePropertiesPrivate *priv; }; struct _GtkStylePropertiesClass