[gtk+] Add gtkorientableprivate.h header



commit 4a0aa41742a8830aae7e813f2e7b0386e394ada6
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 30 03:12:49 2011 -0500

    Add gtkorientableprivate.h header

 gtk/Makefile.am            |    1 +
 gtk/gtkcellview.c          |    2 +-
 gtk/gtkgrid.c              |    2 +-
 gtk/gtkorientable.c        |    2 +-
 gtk/gtkorientable.h        |    3 ---
 gtk/gtkorientableprivate.h |   31 +++++++++++++++++++++++++++++++
 gtk/gtkprogressbar.c       |    2 +-
 gtk/gtkrange.c             |    2 +-
 gtk/gtkseparator.c         |    2 +-
 gtk/gtktoolpalette.c       |    1 +
 10 files changed, 39 insertions(+), 9 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index ab67aee..366c7fe 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -406,6 +406,7 @@ gtk_private_h_sources =		\
 	gtkmodifierstyle.h	\
 	gtkmountoperationprivate.h \
 	gtknumerableiconprivate.h \
+	gtkorientableprivate.h	\
 	gtkpango.h		\
 	gtkpathbar.h		\
 	gtkprintoperation-private.h \
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index beb7ebb..cd11aeb 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -26,7 +26,7 @@
 #include "gtkcellrenderertext.h"
 #include "gtkcellrendererpixbuf.h"
 #include "gtkprivate.h"
-#include "gtkorientable.h"
+#include "gtkorientableprivate.h"
 #include <gobject/gmarshal.h>
 #include "gtkbuildable.h"
 
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c
index 9e1498d..5639c2a 100644
--- a/gtk/gtkgrid.c
+++ b/gtk/gtkgrid.c
@@ -22,7 +22,7 @@
 
 #include "gtkgrid.h"
 
-#include "gtkorientable.h"
+#include "gtkorientableprivate.h"
 #include "gtksizerequest.h"
 #include "gtkprivate.h"
 #include "gtkintl.h"
diff --git a/gtk/gtkorientable.c b/gtk/gtkorientable.c
index 81fcf6c..7a5038b 100644
--- a/gtk/gtkorientable.c
+++ b/gtk/gtkorientable.c
@@ -23,7 +23,7 @@
 
 #include "config.h"
 
-#include "gtkorientable.h"
+#include "gtkorientableprivate.h"
 #include "gtkprivate.h"
 #include "gtktypebuiltins.h"
 #include "gtkintl.h"
diff --git a/gtk/gtkorientable.h b/gtk/gtkorientable.h
index 63ca6e5..fa2c85b 100644
--- a/gtk/gtkorientable.h
+++ b/gtk/gtkorientable.h
@@ -55,9 +55,6 @@ void           gtk_orientable_set_orientation (GtkOrientable  *orientable,
                                                GtkOrientation  orientation);
 GtkOrientation gtk_orientable_get_orientation (GtkOrientable  *orientable);
 
-/* Private */
-void           _gtk_orientable_set_style_classes (GtkOrientable *orientable);
-
 G_END_DECLS
 
 #endif /* __GTK_ORIENTABLE_H__ */
diff --git a/gtk/gtkorientableprivate.h b/gtk/gtkorientableprivate.h
new file mode 100644
index 0000000..273fc10
--- /dev/null
+++ b/gtk/gtkorientableprivate.h
@@ -0,0 +1,31 @@
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __GTK_ORIENTABLE_PRIVATE_H__
+#define __GTK_ORIENTABLE_PRIVATE_H__
+
+#include "gtkorientable.h"
+
+G_BEGIN_DECLS
+
+void _gtk_orientable_set_style_classes (GtkOrientable *orientable);
+
+G_END_DECLS
+
+#endif /* __GTK_ORIENTABLE_H__ */
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index 821cd8c..d97a81c 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -29,7 +29,7 @@
 #include <string.h>
 
 #include "gtkprogressbar.h"
-#include "gtkorientable.h"
+#include "gtkorientableprivate.h"
 #include "gtkprivate.h"
 #include "gtkintl.h"
 
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 3981dcf..b1fc063 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -32,7 +32,7 @@
 
 #include "gtkmainprivate.h"
 #include "gtkmarshalers.h"
-#include "gtkorientable.h"
+#include "gtkorientableprivate.h"
 #include "gtkrange.h"
 #include "gtkscale.h"
 #include "gtkscrollbar.h"
diff --git a/gtk/gtkseparator.c b/gtk/gtkseparator.c
index fda6953..687139f 100644
--- a/gtk/gtkseparator.c
+++ b/gtk/gtkseparator.c
@@ -26,7 +26,7 @@
 
 #include "config.h"
 
-#include "gtkorientable.h"
+#include "gtkorientableprivate.h"
 #include "gtkseparator.h"
 #include "gtkprivate.h"
 #include "gtkintl.h"
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c
index ed3aed2..fea7bf1 100644
--- a/gtk/gtktoolpalette.c
+++ b/gtk/gtktoolpalette.c
@@ -29,6 +29,7 @@
 #include "gtktypebuiltins.h"
 #include "gtkprivate.h"
 #include "gtkscrollable.h"
+#include "gtkorientableprivate.h"
 #include "gtkintl.h"
 
 #define DEFAULT_ICON_SIZE       GTK_ICON_SIZE_SMALL_TOOLBAR



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