]> Pileus Git - ~andy/gtk/commitdiff
styleproperties: Move private struct declaration into public header
authorBenjamin Otte <otte@redhat.com>
Wed, 21 Dec 2011 07:00:45 +0000 (08:00 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Dec 2011 23:15:59 +0000 (00:15 +0100)
gtk/gtkstyleproperties.c
gtk/gtkstyleproperties.h

index 8b931ad20a68877b9f05ebbe196e037ca95d75ff..906ded776b3310403e3993ad1933820b416822d2 100644 (file)
@@ -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;
index 0cc478892b56e443c84bd56b11e1d2dd4c8ed99e..e6e84f4df248dd3e0a57547c6af0a238f0efe6f1 100644 (file)
@@ -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