[gtk+/wip/colorchooser-v2: 41/84] themingengine: move _gtk_theming_engine_set_context to private header



commit 996c44cbd6c698b91b025f733f8d71cec9fb30d1
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Feb 8 16:09:15 2012 -0500

    themingengine: move _gtk_theming_engine_set_context to private header
    
    Where it belongs.

 gtk/gtkstylecontext.c         |    2 +-
 gtk/gtkthemingengine.h        |    3 ---
 gtk/gtkthemingengineprivate.h |    2 ++
 3 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index e497d1f..0610d13 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -27,7 +27,7 @@
 #include "gtkstylecontextprivate.h"
 #include "gtkstylepropertiesprivate.h"
 #include "gtktypebuiltins.h"
-#include "gtkthemingengine.h"
+#include "gtkthemingengineprivate.h"
 #include "gtkintl.h"
 #include "gtkwidget.h"
 #include "gtkwindow.h"
diff --git a/gtk/gtkthemingengine.h b/gtk/gtkthemingengine.h
index d3f6c83..8613264 100644
--- a/gtk/gtkthemingengine.h
+++ b/gtk/gtkthemingengine.h
@@ -182,9 +182,6 @@ struct _GtkThemingEngineClass
 
 GType gtk_theming_engine_get_type (void) G_GNUC_CONST;
 
-void _gtk_theming_engine_set_context (GtkThemingEngine *engine,
-                                      GtkStyleContext  *context);
-
 /* function implemented in gtkcsscustomproperty.c */
 void gtk_theming_engine_register_property (const gchar            *name_space,
                                            GtkStylePropertyParser  parse_func,
diff --git a/gtk/gtkthemingengineprivate.h b/gtk/gtkthemingengineprivate.h
index 10db6f7..02c8969 100644
--- a/gtk/gtkthemingengineprivate.h
+++ b/gtk/gtkthemingengineprivate.h
@@ -33,5 +33,7 @@ const GValue *_gtk_theming_engine_peek_property (GtkThemingEngine *engine,
 double        _gtk_theming_engine_get_number    (GtkThemingEngine *engine,
                                                  const char       *property_name,
                                                  double            one_hundred_percent);
+void          _gtk_theming_engine_set_context   (GtkThemingEngine *engine,
+                                                 GtkStyleContext  *context);
 
 #endif /* __GTK_THEMING_ENGINE_PRIVATE_H__ */



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