Commit ccc3679a authored by Benjamin Otte's avatar Benjamin Otte

stylecontext: Use the common approach for priate pointers

Has two advantages:
1) consistency
2) "print *context->priv" actually works in gdb
parent 0bd0854d
......@@ -406,7 +406,6 @@
* </refsect2>
*/
typedef struct GtkStyleContextPrivate GtkStyleContextPrivate;
typedef struct GtkStyleProviderData GtkStyleProviderData;
typedef struct GtkStyleInfo GtkStyleInfo;
typedef struct GtkRegion GtkRegion;
......@@ -468,7 +467,7 @@ struct AnimationInfo
GArray *rectangles;
};
struct GtkStyleContextPrivate
struct _GtkStyleContextPrivate
{
GdkScreen *screen;
......
......@@ -40,11 +40,12 @@ G_BEGIN_DECLS
typedef struct _GtkStyleContext GtkStyleContext;
typedef struct _GtkStyleContextClass GtkStyleContextClass;
typedef struct _GtkStyleContextPrivate GtkStyleContextPrivate;
struct _GtkStyleContext
{
GObject parent_object;
gpointer priv;
GtkStyleContextPrivate *priv;
};
struct _GtkStyleContextClass
......
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