[gtk+/wip/cssvalue: 99/164] css: Move enum to the only source file using it
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cssvalue: 99/164] css: Move enum to the only source file using it
- Date: Wed, 11 Apr 2012 14:48:14 +0000 (UTC)
commit 1fa12bf68d8987acc51aad2f15d386ea832283b7
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 3ad6ce5..d34877c 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]