[gtk+/wip/cssvalue: 99/142] css: Move enum to the only source file using it



commit 55d5b7cb624ad66b3afa6a410dd0b1527e168cfe
Author: Benjamin Otte <otte redhat com>
Date:   Mon Apr 2 08:47:11 2012 +0200

    css: Move enum to the only source file using it

 gtk/gtkcssstylepropertyimpl.c |    4 ++++
 gtk/gtkstylepropertyprivate.h |    4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index 01b89c5..878fd73 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -57,6 +57,10 @@
 
 /*** REGISTRATION ***/
 
+typedef enum {
+  GTK_STYLE_PROPERTY_INHERIT = (1 << 0)
+} GtkStylePropertyFlags;
+
 static void
 gtk_css_style_property_register (const char *                   name,
                                  guint                          expected_id,
diff --git a/gtk/gtkstylepropertyprivate.h b/gtk/gtkstylepropertyprivate.h
index 1a6b6fb..56fb82b 100644
--- a/gtk/gtkstylepropertyprivate.h
+++ b/gtk/gtkstylepropertyprivate.h
@@ -34,10 +34,6 @@ G_BEGIN_DECLS
 typedef struct _GtkStyleProperty           GtkStyleProperty;
 typedef struct _GtkStylePropertyClass      GtkStylePropertyClass;
 
-typedef enum {
-  GTK_STYLE_PROPERTY_INHERIT = (1 << 0)
-} GtkStylePropertyFlags;
-
 typedef GtkCssValue *   (* GtkStyleQueryFunc)        (guint                   id,
 						      gpointer                data);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]