summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-04-02 08:47:11 +0200
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:17 +0200
commit9e4341f730ea0f08416405b2053765360f6d3f89 (patch)
tree720f9e3a18f6f45e444e963e6dae4e661884238a
parente597f4d6a997d0f8f4f27f50ed35a8472b406be7 (diff)
downloadgtk+-9e4341f730ea0f08416405b2053765360f6d3f89.tar.gz
css: Move enum to the only source file using it
-rw-r--r--gtk/gtkcssstylepropertyimpl.c4
-rw-r--r--gtk/gtkstylepropertyprivate.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index 9f4bbbde94..adf1d8ce31 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 1a6b6fb7a6..56fb82be58 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);