[gtk+] Consistently private headers



commit bad24bc1192e7ac546cc8ffd33cdcadefab14de9
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Feb 8 19:36:10 2012 -0500

    Consistently private headers
    
    Add a 'private' suffix to all newly introduced private
    headers.

 gtk/Makefile.am                                   |    8 ++++----
 gtk/gtkcolorchooserwidget.c                       |    4 ++--
 gtk/gtkcoloreditor.c                              |    8 ++++----
 gtk/{gtkcoloreditor.h => gtkcoloreditorprivate.h} |    0
 gtk/gtkcolorplane.c                               |    3 ++-
 gtk/{gtkcolorplane.h => gtkcolorplaneprivate.h}   |    0
 gtk/gtkcolorscale.c                               |    2 +-
 gtk/{gtkcolorscale.h => gtkcolorscaleprivate.h}   |    0
 gtk/gtkcolorswatch.c                              |    2 +-
 gtk/{gtkcolorswatch.h => gtkcolorswatchprivate.h} |    0
 gtk/gtkrange.c                                    |    2 +-
 11 files changed, 15 insertions(+), 14 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 6ae0347..75160f3 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -414,10 +414,10 @@ gtk_private_h_sources =		\
 	gtkbuilderprivate.h	\
 	gtkbuttonprivate.h	\
 	gtkcellareaboxcontextprivate.h	\
-	gtkcolorswatch.h	\
-	gtkcoloreditor.h	\
-	gtkcolorplane.h		\
-	gtkcolorscale.h		\
+	gtkcolorswatchprivate.h	\
+	gtkcoloreditorprivate.h	\
+	gtkcolorplaneprivate.h	\
+	gtkcolorscaleprivate.h	\
 	gtkcolorchooserprivate.h	\
 	gtkcontainerprivate.h   \
 	gtkcsscomputedvaluesprivate.h \
diff --git a/gtk/gtkcolorchooserwidget.c b/gtk/gtkcolorchooserwidget.c
index 117ddb8..10d29c2 100644
--- a/gtk/gtkcolorchooserwidget.c
+++ b/gtk/gtkcolorchooserwidget.c
@@ -22,8 +22,8 @@
 
 #include "gtkcolorchooserprivate.h"
 #include "gtkcolorchooserwidget.h"
-#include "gtkcoloreditor.h"
-#include "gtkcolorswatch.h"
+#include "gtkcoloreditorprivate.h"
+#include "gtkcolorswatchprivate.h"
 #include "gtkbox.h"
 #include "gtkgrid.h"
 #include "gtklabel.h"
diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c
index 404b2b3..8019d41 100644
--- a/gtk/gtkcoloreditor.c
+++ b/gtk/gtkcoloreditor.c
@@ -30,12 +30,12 @@
 
 #include "config.h"
 
-#include "gtkcoloreditor.h"
+#include "gtkcoloreditorprivate.h"
 
 #include "gtkcolorchooserprivate.h"
-#include "gtkcolorplane.h"
-#include "gtkcolorscale.h"
-#include "gtkcolorswatch.h"
+#include "gtkcolorplaneprivate.h"
+#include "gtkcolorscaleprivate.h"
+#include "gtkcolorswatchprivate.h"
 #include "gtkcolorutils.h"
 #include "gtkgrid.h"
 #include "gtkorientable.h"
diff --git a/gtk/gtkcoloreditor.h b/gtk/gtkcoloreditorprivate.h
similarity index 100%
rename from gtk/gtkcoloreditor.h
rename to gtk/gtkcoloreditorprivate.h
diff --git a/gtk/gtkcolorplane.c b/gtk/gtkcolorplane.c
index ab50610..a34b7fa 100644
--- a/gtk/gtkcolorplane.c
+++ b/gtk/gtkcolorplane.c
@@ -19,7 +19,8 @@
 
 #include "config.h"
 
-#include "gtkcolorplane.h"
+#include "gtkcolorplaneprivate.h"
+
 #include "gtkcolorutils.h"
 #include "gtkaccessible.h"
 #include "gtkintl.h"
diff --git a/gtk/gtkcolorplane.h b/gtk/gtkcolorplaneprivate.h
similarity index 100%
rename from gtk/gtkcolorplane.h
rename to gtk/gtkcolorplaneprivate.h
diff --git a/gtk/gtkcolorscale.c b/gtk/gtkcolorscale.c
index c1cc660..4555909 100644
--- a/gtk/gtkcolorscale.c
+++ b/gtk/gtkcolorscale.c
@@ -19,7 +19,7 @@
 
 #include "config.h"
 
-#include "gtkcolorscale.h"
+#include "gtkcolorscaleprivate.h"
 
 #include "gtkcolorutils.h"
 #include "gtkorientable.h"
diff --git a/gtk/gtkcolorscale.h b/gtk/gtkcolorscaleprivate.h
similarity index 100%
rename from gtk/gtkcolorscale.h
rename to gtk/gtkcolorscaleprivate.h
diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c
index fd5f6a8..ddc78c5 100644
--- a/gtk/gtkcolorswatch.c
+++ b/gtk/gtkcolorswatch.c
@@ -19,7 +19,7 @@
 
 #include "config.h"
 
-#include "gtkcolorswatch.h"
+#include "gtkcolorswatchprivate.h"
 
 #include "gtkroundedboxprivate.h"
 #include "gtkthemingbackgroundprivate.h"
diff --git a/gtk/gtkcolorswatch.h b/gtk/gtkcolorswatchprivate.h
similarity index 100%
rename from gtk/gtkcolorswatch.h
rename to gtk/gtkcolorswatchprivate.h
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 14c72f9..0d32f0b 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -35,7 +35,7 @@
 #include "gtkorientableprivate.h"
 #include "gtkrange.h"
 #include "gtkscale.h"
-#include "gtkcolorscale.h"
+#include "gtkcolorscaleprivate.h"
 #include "gtkscrollbar.h"
 #include "gtkwindow.h"
 #include "gtkprivate.h"



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