[gtk/wip/otte/G_TYPE_POINTER: 4/4] searchengine: Rename private headers




commit e2d321a16afcc55ca8022c68ef3df4c6ee9559cf
Author: Benjamin Otte <otte redhat com>
Date:   Sun Aug 29 06:10:31 2021 +0200

    searchengine: Rename private headers
    
    The code uses G_TYPE_POINTER and I got all sorts of scared.

 gtk/gtkfilechooserprivate.h                                       | 2 +-
 gtk/gtksearchengine.c                                             | 8 ++++----
 gtk/gtksearchenginemodel.c                                        | 2 +-
 gtk/{gtksearchenginemodel.h => gtksearchenginemodelprivate.h}     | 2 +-
 gtk/{gtksearchengine.h => gtksearchengineprivate.h}               | 0
 gtk/gtksearchenginequartz.c                                       | 2 +-
 gtk/{gtksearchenginequartz.h => gtksearchenginequartzprivate.h}   | 2 +-
 gtk/gtksearchenginetracker3.c                                     | 2 +-
 ...gtksearchenginetracker3.h => gtksearchenginetracker3private.h} | 2 +-
 9 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gtk/gtkfilechooserprivate.h b/gtk/gtkfilechooserprivate.h
index 3042fb029b..7b47b416b3 100644
--- a/gtk/gtkfilechooserprivate.h
+++ b/gtk/gtkfilechooserprivate.h
@@ -23,7 +23,7 @@
 #include "gtkfilesystemmodel.h"
 #include "gtkliststore.h"
 #include "gtkrecentmanager.h"
-#include "gtksearchengine.h"
+#include "gtksearchengineprivate.h"
 #include "gtkquery.h"
 #include "gtksizegroup.h"
 #include "gtktreemodelsort.h"
diff --git a/gtk/gtksearchengine.c b/gtk/gtksearchengine.c
index 6dc241d789..73b14aa5e8 100644
--- a/gtk/gtksearchengine.c
+++ b/gtk/gtksearchengine.c
@@ -20,15 +20,15 @@
  */
 
 #include "config.h"
-#include "gtksearchengine.h"
-#include "gtksearchenginemodel.h"
-#include "gtksearchenginequartz.h"
+#include "gtksearchengineprivate.h"
+#include "gtksearchenginemodelprivate.h"
+#include "gtksearchenginequartzprivate.h"
 #include "gtkintl.h"
 
 #include <gdk/gdk.h> /* for GDK_WINDOWING_MACOS */
 
 #if defined(HAVE_TRACKER3)
-#include "gtksearchenginetracker3.h"
+#include "gtksearchenginetracker3private.h"
 #endif
 
 struct _GtkSearchEnginePrivate {
diff --git a/gtk/gtksearchenginemodel.c b/gtk/gtksearchenginemodel.c
index af85e56c51..e4dc7ad004 100644
--- a/gtk/gtksearchenginemodel.c
+++ b/gtk/gtksearchenginemodel.c
@@ -23,7 +23,7 @@
 
 #include <gdk/gdk.h>
 
-#include "gtksearchenginemodel.h"
+#include "gtksearchenginemodelprivate.h"
 #include "gtkprivate.h"
 
 #include <string.h>
diff --git a/gtk/gtksearchenginemodel.h b/gtk/gtksearchenginemodelprivate.h
similarity index 98%
rename from gtk/gtksearchenginemodel.h
rename to gtk/gtksearchenginemodelprivate.h
index a7cedab2a0..f0b9dcf471 100644
--- a/gtk/gtksearchenginemodel.h
+++ b/gtk/gtksearchenginemodelprivate.h
@@ -20,7 +20,7 @@
 #ifndef __GTK_SEARCH_ENGINE_MODEL_H__
 #define __GTK_SEARCH_ENGINE_MODEL_H__
 
-#include "gtksearchengine.h"
+#include "gtksearchengineprivate.h"
 #include "gtkfilesystemmodel.h"
 
 G_BEGIN_DECLS
diff --git a/gtk/gtksearchengine.h b/gtk/gtksearchengineprivate.h
similarity index 100%
rename from gtk/gtksearchengine.h
rename to gtk/gtksearchengineprivate.h
diff --git a/gtk/gtksearchenginequartz.c b/gtk/gtksearchenginequartz.c
index a5cea53d00..97edc702fc 100644
--- a/gtk/gtksearchenginequartz.c
+++ b/gtk/gtksearchenginequartz.c
@@ -18,7 +18,7 @@
 #include <Cocoa/Cocoa.h>
 #include <macos/gdkmacos.h>
 
-#include "gtksearchenginequartz.h"
+#include "gtksearchenginequartzprivate.h"
 
 /* This file is a mixture of an objective-C object and a GObject,
  * so be careful to not confuse yourself.
diff --git a/gtk/gtksearchenginequartz.h b/gtk/gtksearchenginequartzprivate.h
similarity index 98%
rename from gtk/gtksearchenginequartz.h
rename to gtk/gtksearchenginequartzprivate.h
index 1cb8739dc5..c74b5795f0 100644
--- a/gtk/gtksearchenginequartz.h
+++ b/gtk/gtksearchenginequartzprivate.h
@@ -18,7 +18,7 @@
 #ifndef __GTK_SEARCH_ENGINE_QUARTZ_H__
 #define __GTK_SEARCH_ENGINE_QUARTZ_H__
 
-#include "gtksearchengine.h"
+#include "gtksearchengineprivate.h"
 
 G_BEGIN_DECLS
 
diff --git a/gtk/gtksearchenginetracker3.c b/gtk/gtksearchenginetracker3.c
index c230f9d2e3..6918983941 100644
--- a/gtk/gtksearchenginetracker3.c
+++ b/gtk/gtksearchenginetracker3.c
@@ -32,7 +32,7 @@
 #include <gtk/gtk.h>
 #include <libtracker-sparql/tracker-sparql.h>
 
-#include "gtksearchenginetracker3.h"
+#include "gtksearchenginetracker3private.h"
 
 #define MINER_FS_BUS_NAME "org.freedesktop.Tracker3.Miner.Files"
 
diff --git a/gtk/gtksearchenginetracker3.h b/gtk/gtksearchenginetracker3private.h
similarity index 97%
rename from gtk/gtksearchenginetracker3.h
rename to gtk/gtksearchenginetracker3private.h
index 37af1fb3c2..b38e6e3121 100644
--- a/gtk/gtksearchenginetracker3.h
+++ b/gtk/gtksearchenginetracker3private.h
@@ -24,7 +24,7 @@
 #ifndef __GTK_SEARCH_ENGINE_TRACKER3_H__
 #define __GTK_SEARCH_ENGINE_TRACKER3_H__
 
-#include "gtksearchengine.h"
+#include "gtksearchengineprivate.h"
 
 G_BEGIN_DECLS
 


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