[retro-gtk/header-fixes: 1/3] Name all private headers as -private
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/header-fixes: 1/3] Name all private headers as -private
- Date: Sat, 11 Jan 2020 14:00:53 +0000 (UTC)
commit 2498d5b5caf6b8e53fa8ce67d08f1dd2547cf8c2
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat Jan 11 16:45:42 2020 +0500
Name all private headers as -private
Make sure all headers that aren't public have "-private" in their names,
even if they don't have a corresponding public header.
.../{retro-cairo-display.h => retro-cairo-display-private.h} | 0
retro-gtk/retro-cairo-display.c | 2 +-
retro-gtk/retro-core-private.h | 10 +++++-----
...-view-controller.h => retro-core-view-controller-private.h} | 0
retro-gtk/retro-core-view-controller.c | 2 +-
retro-gtk/retro-core-view.c | 10 +++++-----
retro-gtk/retro-core.c | 2 +-
...ontrol-callback.h => retro-disk-control-callback-private.h} | 2 +-
retro-gtk/{retro-game-info.h => retro-game-info-private.h} | 0
retro-gtk/retro-game-info.c | 2 +-
retro-gtk/{retro-gl-display.h => retro-gl-display-private.h} | 0
retro-gtk/retro-gl-display.c | 4 ++--
retro-gtk/{retro-glsl-filter.h => retro-glsl-filter-private.h} | 0
retro-gtk/retro-glsl-filter.c | 2 +-
...tro-input-descriptor.h => retro-input-descriptor-private.h} | 0
retro-gtk/retro-input-descriptor.c | 2 +-
retro-gtk/retro-input-private.h | 2 +-
.../{retro-keyboard-key.h => retro-keyboard-key-private.h} | 0
retro-gtk/{retro-keyboard.h => retro-keyboard-private.h} | 2 +-
retro-gtk/retro-keyboard.c | 2 +-
retro-gtk/{retro-module.h => retro-module-private.h} | 6 +++---
retro-gtk/retro-module.c | 2 +-
retro-gtk/retro-option-private.h | 2 +-
retro-gtk/{retro-pa-player.h => retro-pa-player-private.h} | 0
retro-gtk/retro-pa-player.c | 2 +-
retro-gtk/retro-pixdata-private.h | 2 +-
.../{retro-pixel-format.h => retro-pixel-format-private.h} | 0
retro-gtk/retro-pixel-format.c | 2 +-
retro-gtk/{retro-rotation.h => retro-rotation-private.h} | 0
.../{retro-system-av-info.h => retro-system-av-info-private.h} | 0
retro-gtk/{retro-system-info.h => retro-system-info-private.h} | 0
retro-gtk/{retro-variable.h => retro-variable-private.h} | 0
32 files changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/retro-gtk/retro-cairo-display.h b/retro-gtk/retro-cairo-display-private.h
similarity index 100%
rename from retro-gtk/retro-cairo-display.h
rename to retro-gtk/retro-cairo-display-private.h
diff --git a/retro-gtk/retro-cairo-display.c b/retro-gtk/retro-cairo-display.c
index 1fb637b..717e74f 100644
--- a/retro-gtk/retro-cairo-display.c
+++ b/retro-gtk/retro-cairo-display.c
@@ -1,6 +1,6 @@
// This file is part of retro-gtk. License: GPL-3.0+.
-#include "retro-cairo-display.h"
+#include "retro-cairo-display-private.h"
#include "retro-pixbuf.h"
#include "retro-pixdata.h"
diff --git a/retro-gtk/retro-core-private.h b/retro-gtk/retro-core-private.h
index 1e0d977..4c82b06 100644
--- a/retro-gtk/retro-core-private.h
+++ b/retro-gtk/retro-core-private.h
@@ -7,13 +7,13 @@
#endif
#include "retro-core.h"
-#include "retro-disk-control-callback.h"
+#include "retro-disk-control-callback-private.h"
#include "retro-input.h"
-#include "retro-input-descriptor.h"
-#include "retro-module.h"
+#include "retro-input-descriptor-private.h"
+#include "retro-module-private.h"
#include "retro-option-private.h"
-#include "retro-pixel-format.h"
-#include "retro-rotation.h"
+#include "retro-pixel-format-private.h"
+#include "retro-rotation-private.h"
G_BEGIN_DECLS
diff --git a/retro-gtk/retro-core-view-controller.h b/retro-gtk/retro-core-view-controller-private.h
similarity index 100%
rename from retro-gtk/retro-core-view-controller.h
rename to retro-gtk/retro-core-view-controller-private.h
diff --git a/retro-gtk/retro-core-view-controller.c b/retro-gtk/retro-core-view-controller.c
index f280467..39e6309 100644
--- a/retro-gtk/retro-core-view-controller.c
+++ b/retro-gtk/retro-core-view-controller.c
@@ -1,6 +1,6 @@
// This file is part of retro-gtk. License: GPL-3.0+.
-#include "retro-core-view-controller.h"
+#include "retro-core-view-controller-private.h"
#include "retro-controller.h"
diff --git a/retro-gtk/retro-core-view.c b/retro-gtk/retro-core-view.c
index 9300ef1..994335c 100644
--- a/retro-gtk/retro-core-view.c
+++ b/retro-gtk/retro-core-view.c
@@ -2,13 +2,13 @@
#include "retro-core-view.h"
-#include "retro-cairo-display.h"
-#include "retro-gl-display.h"
+#include "retro-cairo-display-private.h"
+#include "retro-gl-display-private.h"
#include "retro-controller-codes.h"
-#include "retro-core-view-controller.h"
+#include "retro-core-view-controller-private.h"
#include "retro-input-private.h"
-#include "retro-keyboard.h"
-#include "retro-pa-player.h"
+#include "retro-keyboard-private.h"
+#include "retro-pa-player-private.h"
struct _RetroCoreView
{
diff --git a/retro-gtk/retro-core.c b/retro-gtk/retro-core.c
index b89d290..7486278 100644
--- a/retro-gtk/retro-core.c
+++ b/retro-gtk/retro-core.c
@@ -4,7 +4,7 @@
#include <string.h>
#include "retro-controller-iterator-private.h"
-#include "retro-keyboard.h"
+#include "retro-keyboard-private.h"
#include "retro-option-iterator-private.h"
#include "retro-pixdata.h"
diff --git a/retro-gtk/retro-disk-control-callback.h b/retro-gtk/retro-disk-control-callback-private.h
similarity index 97%
rename from retro-gtk/retro-disk-control-callback.h
rename to retro-gtk/retro-disk-control-callback-private.h
index 33489d9..3aba97e 100644
--- a/retro-gtk/retro-disk-control-callback.h
+++ b/retro-gtk/retro-disk-control-callback-private.h
@@ -6,7 +6,7 @@
# error "Only <retro-gtk.h> can be included directly."
#endif
-#include "retro-game-info.h"
+#include "retro-game-info-private.h"
G_BEGIN_DECLS
diff --git a/retro-gtk/retro-game-info.h b/retro-gtk/retro-game-info-private.h
similarity index 100%
rename from retro-gtk/retro-game-info.h
rename to retro-gtk/retro-game-info-private.h
diff --git a/retro-gtk/retro-game-info.c b/retro-gtk/retro-game-info.c
index da14158..af96290 100644
--- a/retro-gtk/retro-game-info.c
+++ b/retro-gtk/retro-game-info.c
@@ -1,6 +1,6 @@
// This file is part of retro-gtk. License: GPL-3.0+.
-#include "retro-game-info.h"
+#include "retro-game-info-private.h"
G_DEFINE_BOXED_TYPE (RetroGameInfo, retro_game_info, retro_game_info_copy, retro_game_info_free)
diff --git a/retro-gtk/retro-gl-display.h b/retro-gtk/retro-gl-display-private.h
similarity index 100%
rename from retro-gtk/retro-gl-display.h
rename to retro-gtk/retro-gl-display-private.h
diff --git a/retro-gtk/retro-gl-display.c b/retro-gtk/retro-gl-display.c
index ea4c1e5..4fbae96 100644
--- a/retro-gtk/retro-gl-display.c
+++ b/retro-gtk/retro-gl-display.c
@@ -1,9 +1,9 @@
// This file is part of retro-gtk. License: GPL-3.0+.
-#include "retro-gl-display.h"
+#include "retro-gl-display-private.h"
#include <epoxy/gl.h>
-#include "retro-glsl-filter.h"
+#include "retro-glsl-filter-private.h"
#include "retro-pixbuf.h"
#include "retro-pixdata.h"
diff --git a/retro-gtk/retro-glsl-filter.h b/retro-gtk/retro-glsl-filter-private.h
similarity index 100%
rename from retro-gtk/retro-glsl-filter.h
rename to retro-gtk/retro-glsl-filter-private.h
diff --git a/retro-gtk/retro-glsl-filter.c b/retro-gtk/retro-glsl-filter.c
index 9e1790b..593c72f 100644
--- a/retro-gtk/retro-glsl-filter.c
+++ b/retro-gtk/retro-glsl-filter.c
@@ -1,6 +1,6 @@
// This file is part of retro-gtk. License: GPL-3.0+.
-#include "retro-glsl-filter.h"
+#include "retro-glsl-filter-private.h"
struct _RetroGLSLFilter
{
diff --git a/retro-gtk/retro-input-descriptor.h b/retro-gtk/retro-input-descriptor-private.h
similarity index 100%
rename from retro-gtk/retro-input-descriptor.h
rename to retro-gtk/retro-input-descriptor-private.h
diff --git a/retro-gtk/retro-input-descriptor.c b/retro-gtk/retro-input-descriptor.c
index c1a960c..dad3812 100644
--- a/retro-gtk/retro-input-descriptor.c
+++ b/retro-gtk/retro-input-descriptor.c
@@ -1,6 +1,6 @@
// This file is part of retro-gtk. License: GPL-3.0+.
-#include "retro-input-descriptor.h"
+#include "retro-input-descriptor-private.h"
G_DEFINE_BOXED_TYPE (RetroInputDescriptor, retro_input_descriptor, retro_input_descriptor_copy,
retro_input_descriptor_free)
diff --git a/retro-gtk/retro-input-private.h b/retro-gtk/retro-input-private.h
index 72525d5..e3cc1bb 100644
--- a/retro-gtk/retro-input-private.h
+++ b/retro-gtk/retro-input-private.h
@@ -7,7 +7,7 @@
#endif
#include "retro-input.h"
-#include "retro-keyboard-key.h"
+#include "retro-keyboard-key-private.h"
G_BEGIN_DECLS
diff --git a/retro-gtk/retro-keyboard-key.h b/retro-gtk/retro-keyboard-key-private.h
similarity index 100%
rename from retro-gtk/retro-keyboard-key.h
rename to retro-gtk/retro-keyboard-key-private.h
diff --git a/retro-gtk/retro-keyboard.h b/retro-gtk/retro-keyboard-private.h
similarity index 93%
rename from retro-gtk/retro-keyboard.h
rename to retro-gtk/retro-keyboard-private.h
index c23ec44..d69c90b 100644
--- a/retro-gtk/retro-keyboard.h
+++ b/retro-gtk/retro-keyboard-private.h
@@ -7,7 +7,7 @@
#endif
#include <gdk/gdk.h>
-#include "retro-keyboard-key.h"
+#include "retro-keyboard-key-private.h"
G_BEGIN_DECLS
diff --git a/retro-gtk/retro-keyboard.c b/retro-gtk/retro-keyboard.c
index 7f6679b..41b022c 100644
--- a/retro-gtk/retro-keyboard.c
+++ b/retro-gtk/retro-keyboard.c
@@ -1,6 +1,6 @@
// This file is part of retro-gtk. License: GPL-3.0+.
-#include "retro-keyboard.h"
+#include "retro-keyboard-private.h"
RetroKeyboardModifierKey
retro_keyboard_modifier_key_converter (guint keyval,
diff --git a/retro-gtk/retro-module.h b/retro-gtk/retro-module-private.h
similarity index 96%
rename from retro-gtk/retro-module.h
rename to retro-gtk/retro-module-private.h
index d3dc43f..e403699 100644
--- a/retro-gtk/retro-module.h
+++ b/retro-gtk/retro-module-private.h
@@ -8,10 +8,10 @@
#include <glib-object.h>
#include "retro-controller-type.h"
-#include "retro-game-info.h"
+#include "retro-game-info-private.h"
#include "retro-memory-type.h"
-#include "retro-system-av-info.h"
-#include "retro-system-info.h"
+#include "retro-system-av-info-private.h"
+#include "retro-system-info-private.h"
G_BEGIN_DECLS
diff --git a/retro-gtk/retro-module.c b/retro-gtk/retro-module.c
index bf2d6a5..cc4d28e 100644
--- a/retro-gtk/retro-module.c
+++ b/retro-gtk/retro-module.c
@@ -9,7 +9,7 @@
#include <gio/gio.h>
#include <gmodule.h>
#include <stdio.h>
-#include "retro-module.h"
+#include "retro-module-private.h"
static GHashTable *retro_module_loaded_modules;
diff --git a/retro-gtk/retro-option-private.h b/retro-gtk/retro-option-private.h
index d16ef76..08456df 100644
--- a/retro-gtk/retro-option-private.h
+++ b/retro-gtk/retro-option-private.h
@@ -7,7 +7,7 @@
#endif
#include "retro-option.h"
-#include "retro-variable.h"
+#include "retro-variable-private.h"
G_BEGIN_DECLS
diff --git a/retro-gtk/retro-pa-player.h b/retro-gtk/retro-pa-player-private.h
similarity index 100%
rename from retro-gtk/retro-pa-player.h
rename to retro-gtk/retro-pa-player-private.h
diff --git a/retro-gtk/retro-pa-player.c b/retro-gtk/retro-pa-player.c
index 14055bd..9d44018 100644
--- a/retro-gtk/retro-pa-player.c
+++ b/retro-gtk/retro-pa-player.c
@@ -1,6 +1,6 @@
// This file is part of retro-gtk. License: GPL-3.0+.
-#include "retro-pa-player.h"
+#include "retro-pa-player-private.h"
#include <pulse/simple.h>
#include <pulse/pulseaudio.h>
diff --git a/retro-gtk/retro-pixdata-private.h b/retro-gtk/retro-pixdata-private.h
index eb05b05..5641494 100644
--- a/retro-gtk/retro-pixdata-private.h
+++ b/retro-gtk/retro-pixdata-private.h
@@ -8,7 +8,7 @@
#include "retro-pixdata.h"
-#include "retro-pixel-format.h"
+#include "retro-pixel-format-private.h"
G_BEGIN_DECLS
diff --git a/retro-gtk/retro-pixel-format.h b/retro-gtk/retro-pixel-format-private.h
similarity index 100%
rename from retro-gtk/retro-pixel-format.h
rename to retro-gtk/retro-pixel-format-private.h
diff --git a/retro-gtk/retro-pixel-format.c b/retro-gtk/retro-pixel-format.c
index 5184211..787a80d 100644
--- a/retro-gtk/retro-pixel-format.c
+++ b/retro-gtk/retro-pixel-format.c
@@ -1,6 +1,6 @@
// This file is part of retro-gtk. License: GPL-3.0+.
-#include "retro-pixel-format.h"
+#include "retro-pixel-format-private.h"
GType
retro_pixel_format_get_type (void)
diff --git a/retro-gtk/retro-rotation.h b/retro-gtk/retro-rotation-private.h
similarity index 100%
rename from retro-gtk/retro-rotation.h
rename to retro-gtk/retro-rotation-private.h
diff --git a/retro-gtk/retro-system-av-info.h b/retro-gtk/retro-system-av-info-private.h
similarity index 100%
rename from retro-gtk/retro-system-av-info.h
rename to retro-gtk/retro-system-av-info-private.h
diff --git a/retro-gtk/retro-system-info.h b/retro-gtk/retro-system-info-private.h
similarity index 100%
rename from retro-gtk/retro-system-info.h
rename to retro-gtk/retro-system-info-private.h
diff --git a/retro-gtk/retro-variable.h b/retro-gtk/retro-variable-private.h
similarity index 100%
rename from retro-gtk/retro-variable.h
rename to retro-gtk/retro-variable-private.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]