From 9e4341f730ea0f08416405b2053765360f6d3f89 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 2 Apr 2012 08:47:11 +0200 Subject: 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 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); -- cgit v1.2.1