[gtk+] styleproperties: Move private struct declaration into public header
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] styleproperties: Move private struct declaration into public header
- Date: Thu, 22 Dec 2011 23:27:22 +0000 (UTC)
commit d1c92c38df7c09d55e563afc93a5c8820bd7503e
Author: Benjamin Otte <otte redhat com>
Date: Wed Dec 21 08:00:45 2011 +0100
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 8b931ad..906ded7 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 0cc4788..e6e84f4 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]