Rename a bunch of private headers

We want to follow the convention that all
private headers have names ending in private.h
This commit is contained in:
Matthias Clasen 2019-06-10 03:10:13 +00:00
parent 9182f0fe9d
commit f1b9e7c23b
21 changed files with 40 additions and 40 deletions

View File

@ -18,7 +18,7 @@
*/ */
#include "gtkactionhelperprivate.h" #include "gtkactionhelperprivate.h"
#include "gtkactionobservable.h" #include "gtkactionobservableprivate.h"
#include "gtkwidgetprivate.h" #include "gtkwidgetprivate.h"
#include "gtkdebug.h" #include "gtkdebug.h"

View File

@ -21,8 +21,8 @@
#include "gtkactionmuxerprivate.h" #include "gtkactionmuxerprivate.h"
#include "gtkactionobservable.h" #include "gtkactionobservableprivate.h"
#include "gtkactionobserver.h" #include "gtkactionobserverprivate.h"
#include "gtkintl.h" #include "gtkintl.h"
#include "gtkmarshalers.h" #include "gtkmarshalers.h"

View File

@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "gtkactionobservable.h" #include "gtkactionobservableprivate.h"
G_DEFINE_INTERFACE (GtkActionObservable, gtk_action_observable, G_TYPE_OBJECT) G_DEFINE_INTERFACE (GtkActionObservable, gtk_action_observable, G_TYPE_OBJECT)

View File

@ -17,10 +17,10 @@
* Authors: Ryan Lortie <desrt@desrt.ca> * Authors: Ryan Lortie <desrt@desrt.ca>
*/ */
#ifndef __GTK_ACTION_OBSERVABLE_H__ #ifndef __GTK_ACTION_OBSERVABLE_PRIVATE_H__
#define __GTK_ACTION_OBSERVABLE_H__ #define __GTK_ACTION_OBSERVABLE_PRIVATE_H__
#include "gtkactionobserver.h" #include "gtkactionobserverprivate.h"
G_BEGIN_DECLS G_BEGIN_DECLS
@ -57,4 +57,4 @@ void gtk_action_observable_unregister_observer (GtkActi
G_END_DECLS G_END_DECLS
#endif /* __GTK_ACTION_OBSERVABLE_H__ */ #endif /* __GTK_ACTION_OBSERVABLE_PRIVATE_H__ */

View File

@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "gtkactionobserver.h" #include "gtkactionobserverprivate.h"
G_DEFINE_INTERFACE (GtkActionObserver, gtk_action_observer, G_TYPE_OBJECT) G_DEFINE_INTERFACE (GtkActionObserver, gtk_action_observer, G_TYPE_OBJECT)

View File

@ -17,8 +17,8 @@
* Authors: Ryan Lortie <desrt@desrt.ca> * Authors: Ryan Lortie <desrt@desrt.ca>
*/ */
#ifndef __GTK_ACTION_OBSERVER_H__ #ifndef __GTK_ACTION_OBSERVER_PRIVATE_H__
#define __GTK_ACTION_OBSERVER_H__ #define __GTK_ACTION_OBSERVER_PRIVATE_H__
#include <gio/gio.h> #include <gio/gio.h>
@ -88,4 +88,4 @@ void gtk_action_observer_primary_accel_changed (GtkActi
G_END_DECLS G_END_DECLS
#endif /* __GTK_ACTION_OBSERVER_H__ */ #endif /* __GTK_ACTION_OBSERVER_PRIVATE_H__ */

View File

@ -21,7 +21,7 @@
#include "config.h" #include "config.h"
#include "gtkapplicationprivate.h" #include "gtkapplicationprivate.h"
#include "gtkmenutracker.h" #include "gtkmenutrackerprivate.h"
#include "gtkicontheme.h" #include "gtkicontheme.h"
#include "gtktoolbarprivate.h" #include "gtktoolbarprivate.h"
#include "gtkquartz.h" #include "gtkquartz.h"

View File

@ -20,11 +20,11 @@
#include "config.h" #include "config.h"
#include "gtkmenusectionbox.h" #include "gtkmenusectionboxprivate.h"
#include "gtkwidgetprivate.h" #include "gtkwidgetprivate.h"
#include "gtklabel.h" #include "gtklabel.h"
#include "gtkmenutracker.h" #include "gtkmenutrackerprivate.h"
#include "gtkmodelbutton.h" #include "gtkmodelbutton.h"
#include "gtkseparator.h" #include "gtkseparator.h"
#include "gtksizegroup.h" #include "gtksizegroup.h"

View File

@ -17,10 +17,10 @@
* Author: Ryan Lortie <desrt@desrt.ca> * Author: Ryan Lortie <desrt@desrt.ca>
*/ */
#ifndef __GTK_MENU_SECTION_BOX_H__ #ifndef __GTK_MENU_SECTION_BOX_PRIVATE_H__
#define __GTK_MENU_SECTION_BOX_H__ #define __GTK_MENU_SECTION_BOX_PRIVATE_H__
#include <gtk/gtkmenutrackeritem.h> #include <gtk/gtkmenutrackeritemprivate.h>
#include <gtk/gtkbox.h> #include <gtk/gtkbox.h>
#include <gtk/gtkpopovermenu.h> #include <gtk/gtkpopovermenu.h>
@ -46,4 +46,4 @@ void gtk_menu_section_box_new_toplevel (GtkPopo
G_END_DECLS G_END_DECLS
#endif /* __GTK_MENU_SECTION_BOX_H__ */ #endif /* __GTK_MENU_SECTION_BOX_PRIVATE_H__ */

View File

@ -68,7 +68,7 @@
#include "gtkmenubarprivate.h" #include "gtkmenubarprivate.h"
#include "gtkmenuitemprivate.h" #include "gtkmenuitemprivate.h"
#include "gtkmnemonichash.h" #include "gtkmnemonichash.h"
#include "gtkmodelmenuitem.h" #include "gtkmodelmenuitemprivate.h"
#include "gtkprivate.h" #include "gtkprivate.h"
#include "gtkseparatormenuitem.h" #include "gtkseparatormenuitem.h"
#include "gtktypebuiltins.h" #include "gtktypebuiltins.h"

View File

@ -22,7 +22,7 @@
#include <gtk/gtkmenushell.h> #include <gtk/gtkmenushell.h>
#include <gtk/gtkmnemonichash.h> #include <gtk/gtkmnemonichash.h>
#include <gtk/gtkkeyhash.h> #include <gtk/gtkkeyhash.h>
#include <gtk/gtkmenutracker.h> #include <gtk/gtkmenutrackerprivate.h>
#include <gtk/gtkeventcontroller.h> #include <gtk/gtkeventcontroller.h>
G_BEGIN_DECLS G_BEGIN_DECLS

View File

@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "gtkmenutracker.h" #include "gtkmenutrackerprivate.h"
/*< private > /*< private >
* SECTION:gtkmenutracker * SECTION:gtkmenutracker

View File

@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "gtkmenutrackeritem.h" #include "gtkmenutrackeritemprivate.h"
#include "gtkactionmuxerprivate.h" #include "gtkactionmuxerprivate.h"
#include "gtkdebug.h" #include "gtkdebug.h"
#include "gtkintl.h" #include "gtkintl.h"

View File

@ -17,10 +17,10 @@
* Author: Ryan Lortie <desrt@desrt.ca> * Author: Ryan Lortie <desrt@desrt.ca>
*/ */
#ifndef __GTK_MENU_TRACKER_ITEM_H__ #ifndef __GTK_MENU_TRACKER_ITEM_PRIVATE_H__
#define __GTK_MENU_TRACKER_ITEM_H__ #define __GTK_MENU_TRACKER_ITEM_PRIVATE_H__
#include "gtkactionobservable.h" #include "gtkactionobservableprivate.h"
#define GTK_TYPE_MENU_TRACKER_ITEM (gtk_menu_tracker_item_get_type ()) #define GTK_TYPE_MENU_TRACKER_ITEM (gtk_menu_tracker_item_get_type ())
#define GTK_MENU_TRACKER_ITEM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ #define GTK_MENU_TRACKER_ITEM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \

View File

@ -17,10 +17,10 @@
* Author: Ryan Lortie <desrt@desrt.ca> * Author: Ryan Lortie <desrt@desrt.ca>
*/ */
#ifndef __GTK_MENU_TRACKER_H__ #ifndef __GTK_MENU_TRACKER_PRIVATE_H__
#define __GTK_MENU_TRACKER_H__ #define __GTK_MENU_TRACKER_PRIVATE_H__
#include "gtkmenutrackeritem.h" #include "gtkmenutrackeritemprivate.h"
typedef struct _GtkMenuTracker GtkMenuTracker; typedef struct _GtkMenuTracker GtkMenuTracker;
@ -52,4 +52,4 @@ GtkMenuTracker * gtk_menu_tracker_new_for_item_link (GtkMenu
void gtk_menu_tracker_free (GtkMenuTracker *tracker); void gtk_menu_tracker_free (GtkMenuTracker *tracker);
#endif /* __GTK_MENU_TRACKER_H__ */ #endif /* __GTK_MENU_TRACKER_PRIVATE_H__ */

View File

@ -24,7 +24,7 @@
#include "gtkbutton.h" #include "gtkbutton.h"
#include "gtkbuttonprivate.h" #include "gtkbuttonprivate.h"
#include "gtkwidgetprivate.h" #include "gtkwidgetprivate.h"
#include "gtkmenutrackeritem.h" #include "gtkmenutrackeritemprivate.h"
#include "gtkimage.h" #include "gtkimage.h"
#include "gtklabel.h" #include "gtklabel.h"
#include "gtkbox.h" #include "gtkbox.h"

View File

@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "gtkmodelmenuitem.h" #include "gtkmodelmenuitemprivate.h"
#include "gtkaccellabel.h" #include "gtkaccellabel.h"
#include "gtklabel.h" #include "gtklabel.h"

View File

@ -17,11 +17,11 @@
* Author: Ryan Lortie <desrt@desrt.ca> * Author: Ryan Lortie <desrt@desrt.ca>
*/ */
#ifndef __GTK_MODEL_MENU_ITEM_H__ #ifndef __GTK_MODEL_MENU_ITEM_PRIVATE_H__
#define __GTK_MODEL_MENU_ITEM_H__ #define __GTK_MODEL_MENU_ITEM_PRIVATE_H__
#include <gtk/gtkcheckmenuitem.h> #include <gtk/gtkcheckmenuitem.h>
#include <gtk/gtkmenutrackeritem.h> #include <gtk/gtkmenutrackeritemprivate.h>
#define GTK_TYPE_MODEL_MENU_ITEM (gtk_model_menu_item_get_type ()) #define GTK_TYPE_MODEL_MENU_ITEM (gtk_model_menu_item_get_type ())
#define GTK_MODEL_MENU_ITEM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \ #define GTK_MODEL_MENU_ITEM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
@ -37,4 +37,4 @@ GType gtk_model_menu_item_get_type (void) G
G_GNUC_INTERNAL G_GNUC_INTERNAL
GtkWidget * gtk_model_menu_item_new (void); GtkWidget * gtk_model_menu_item_new (void);
#endif /* __GTK_MODEL_MENU_ITEM_H__ */ #endif /* __GTK_MODEL_MENU_ITEM_PRIVATE_H__ */

View File

@ -120,7 +120,7 @@
#include "gtkprivate.h" #include "gtkprivate.h"
#include "gtkmain.h" #include "gtkmain.h"
#include "gtkstack.h" #include "gtkstack.h"
#include "gtkmenusectionbox.h" #include "gtkmenusectionboxprivate.h"
#include "gdk/gdkeventsprivate.h" #include "gdk/gdkeventsprivate.h"
#include "gtkpointerfocusprivate.h" #include "gtkpointerfocusprivate.h"
#include "gtkcssnodeprivate.h" #include "gtkcssnodeprivate.h"

View File

@ -20,10 +20,10 @@
#include "gtkstack.h" #include "gtkstack.h"
#include "gtkstylecontext.h" #include "gtkstylecontext.h"
#include "gtkintl.h" #include "gtkintl.h"
#include "gtkmenusectionbox.h" #include "gtkmenusectionboxprivate.h"
#include "gtkmenubutton.h" #include "gtkmenubutton.h"
#include "gtkactionmuxerprivate.h" #include "gtkactionmuxerprivate.h"
#include "gtkmenutracker.h" #include "gtkmenutrackerprivate.h"
#include "gtkpopoverprivate.h" #include "gtkpopoverprivate.h"
#include "gtkwidgetprivate.h" #include "gtkwidgetprivate.h"
#include "gtkeventcontrollerkey.h" #include "gtkeventcontrollerkey.h"

View File

@ -63,7 +63,7 @@
#include "gtkeventcontrollerkey.h" #include "gtkeventcontrollerkey.h"
#include "gtkeventcontrollermotion.h" #include "gtkeventcontrollermotion.h"
#include "gtkactionmuxerprivate.h" #include "gtkactionmuxerprivate.h"
#include "gtkmenutracker.h" #include "gtkmenutrackerprivate.h"
#include "gtkwidgetprivate.h" #include "gtkwidgetprivate.h"
#include "gtkmain.h" #include "gtkmain.h"
#include "gtknative.h" #include "gtknative.h"