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 "gtkactionobservable.h"
#include "gtkactionobservableprivate.h"
#include "gtkwidgetprivate.h"
#include "gtkdebug.h"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -17,10 +17,10 @@
* Author: Ryan Lortie <desrt@desrt.ca>
*/
#ifndef __GTK_MENU_SECTION_BOX_H__
#define __GTK_MENU_SECTION_BOX_H__
#ifndef __GTK_MENU_SECTION_BOX_PRIVATE_H__
#define __GTK_MENU_SECTION_BOX_PRIVATE_H__
#include <gtk/gtkmenutrackeritem.h>
#include <gtk/gtkmenutrackeritemprivate.h>
#include <gtk/gtkbox.h>
#include <gtk/gtkpopovermenu.h>
@ -46,4 +46,4 @@ void gtk_menu_section_box_new_toplevel (GtkPopo
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 "gtkmenuitemprivate.h"
#include "gtkmnemonichash.h"
#include "gtkmodelmenuitem.h"
#include "gtkmodelmenuitemprivate.h"
#include "gtkprivate.h"
#include "gtkseparatormenuitem.h"
#include "gtktypebuiltins.h"

View File

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

View File

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

View File

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

View File

@ -17,10 +17,10 @@
* Author: Ryan Lortie <desrt@desrt.ca>
*/
#ifndef __GTK_MENU_TRACKER_ITEM_H__
#define __GTK_MENU_TRACKER_ITEM_H__
#ifndef __GTK_MENU_TRACKER_ITEM_PRIVATE_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_MENU_TRACKER_ITEM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \

View File

@ -17,10 +17,10 @@
* Author: Ryan Lortie <desrt@desrt.ca>
*/
#ifndef __GTK_MENU_TRACKER_H__
#define __GTK_MENU_TRACKER_H__
#ifndef __GTK_MENU_TRACKER_PRIVATE_H__
#define __GTK_MENU_TRACKER_PRIVATE_H__
#include "gtkmenutrackeritem.h"
#include "gtkmenutrackeritemprivate.h"
typedef struct _GtkMenuTracker GtkMenuTracker;
@ -52,4 +52,4 @@ GtkMenuTracker * gtk_menu_tracker_new_for_item_link (GtkMenu
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 "gtkbuttonprivate.h"
#include "gtkwidgetprivate.h"
#include "gtkmenutrackeritem.h"
#include "gtkmenutrackeritemprivate.h"
#include "gtkimage.h"
#include "gtklabel.h"
#include "gtkbox.h"

View File

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

View File

@ -17,11 +17,11 @@
* Author: Ryan Lortie <desrt@desrt.ca>
*/
#ifndef __GTK_MODEL_MENU_ITEM_H__
#define __GTK_MODEL_MENU_ITEM_H__
#ifndef __GTK_MODEL_MENU_ITEM_PRIVATE_H__
#define __GTK_MODEL_MENU_ITEM_PRIVATE_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_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
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 "gtkmain.h"
#include "gtkstack.h"
#include "gtkmenusectionbox.h"
#include "gtkmenusectionboxprivate.h"
#include "gdk/gdkeventsprivate.h"
#include "gtkpointerfocusprivate.h"
#include "gtkcssnodeprivate.h"

View File

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

View File

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