From bad24bc1192e7ac546cc8ffd33cdcadefab14de9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 8 Feb 2012 19:36:10 -0500 Subject: [PATCH] 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(-) rename gtk/{gtkcoloreditor.h => gtkcoloreditorprivate.h} (100%) rename gtk/{gtkcolorplane.h => gtkcolorplaneprivate.h} (100%) rename gtk/{gtkcolorscale.h => gtkcolorscaleprivate.h} (100%) rename gtk/{gtkcolorswatch.h => gtkcolorswatchprivate.h} (100%) diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 6ae0347b6f..75160f3982 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 117ddb8a00..10d29c27c3 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 404b2b37c6..8019d41768 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 ab50610c46..a34b7fad33 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 c1cc6605ac..455590938b 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 fd5f6a8b23..ddc78c5e05 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 14c72f9d2a..0d32f0bb02 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"