From 1ed17df7a010bd0812b9e2e5d754f86f130741b9 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 2 Feb 2018 10:08:41 +0100 Subject: [PATCH] Rename GtkActionHelper private header Follow the naming scheme for private headers. --- gtk/gtkactionhelper.c | 3 +-- gtk/{gtkactionhelper.h => gtkactionhelperprivate.h} | 0 gtk/gtkbutton.c | 2 +- gtk/gtkbuttonprivate.h | 2 +- gtk/gtklistbox.c | 2 +- gtk/gtkmenuitemprivate.h | 2 +- gtk/gtkswitch.c | 2 +- 7 files changed, 6 insertions(+), 7 deletions(-) rename gtk/{gtkactionhelper.h => gtkactionhelperprivate.h} (100%) diff --git a/gtk/gtkactionhelper.c b/gtk/gtkactionhelper.c index 41d3dd9cbd..f82b16f012 100644 --- a/gtk/gtkactionhelper.c +++ b/gtk/gtkactionhelper.c @@ -17,10 +17,9 @@ * Authors: Ryan Lortie */ -#include "gtkactionhelper.h" +#include "gtkactionhelperprivate.h" #include "gtkactionobservable.h" -#include "gtkwidget.h" #include "gtkwidgetprivate.h" #include "gtkdebug.h" #include "gtkmodelbutton.h" diff --git a/gtk/gtkactionhelper.h b/gtk/gtkactionhelperprivate.h similarity index 100% rename from gtk/gtkactionhelper.h rename to gtk/gtkactionhelperprivate.h diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index dcd3059c4c..d43ecf5485 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -69,7 +69,7 @@ #include "gtkintl.h" #include "a11y/gtkbuttonaccessible.h" #include "gtkapplicationprivate.h" -#include "gtkactionhelper.h" +#include "gtkactionhelperprivate.h" #include "gtkcontainerprivate.h" /* Time out before giving up on getting a key release when animating diff --git a/gtk/gtkbuttonprivate.h b/gtk/gtkbuttonprivate.h index b0f79fc07b..3c7c6c8ccc 100644 --- a/gtk/gtkbuttonprivate.h +++ b/gtk/gtkbuttonprivate.h @@ -19,7 +19,7 @@ #ifndef __GTK_BUTTON_PRIVATE_H__ #define __GTK_BUTTON_PRIVATE_H__ -#include "gtkactionhelper.h" +#include "gtkactionhelperprivate.h" #include "gtkgesturesingle.h" G_BEGIN_DECLS diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c index 32135f3214..4231e25bed 100644 --- a/gtk/gtklistbox.c +++ b/gtk/gtklistbox.c @@ -17,7 +17,7 @@ #include "config.h" -#include "gtkactionhelper.h" +#include "gtkactionhelperprivate.h" #include "gtkadjustmentprivate.h" #include "gtkcssnodeprivate.h" #include "gtklistbox.h" diff --git a/gtk/gtkmenuitemprivate.h b/gtk/gtkmenuitemprivate.h index 73b943f028..66407f64e9 100644 --- a/gtk/gtkmenuitemprivate.h +++ b/gtk/gtkmenuitemprivate.h @@ -19,7 +19,7 @@ #define __GTK_MENU_ITEM_PRIVATE_H__ #include -#include +#include #include #include diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c index bd6f8b0f23..a4d7d38015 100644 --- a/gtk/gtkswitch.c +++ b/gtk/gtkswitch.c @@ -59,7 +59,7 @@ #include "gtkmarshalers.h" #include "gtkactionable.h" #include "a11y/gtkswitchaccessible.h" -#include "gtkactionhelper.h" +#include "gtkactionhelperprivate.h" #include "gtkwidgetprivate.h" #include "gtkprogresstrackerprivate.h" #include "gtksettingsprivate.h"