[amtk] types: move a typedef to its respective header



commit 18f50aaac62dcaa752a85d19ad4101d930c06da9
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date:   Thu Sep 9 02:46:12 2021 +0200

    types: move a typedef to its respective header

 amtk/amtk-action-info-central-store.h | 1 +
 amtk/amtk-action-info-store.h         | 1 +
 amtk/amtk-action-info.h               | 2 ++
 amtk/amtk-types.h                     | 1 -
 4 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/amtk/amtk-action-info-central-store.h b/amtk/amtk-action-info-central-store.h
index 2102acf..90300f4 100644
--- a/amtk/amtk-action-info-central-store.h
+++ b/amtk/amtk-action-info-central-store.h
@@ -25,6 +25,7 @@
 #endif
 
 #include <glib-object.h>
+#include <amtk/amtk-action-info.h>
 #include <amtk/amtk-types.h>
 
 G_BEGIN_DECLS
diff --git a/amtk/amtk-action-info-store.h b/amtk/amtk-action-info-store.h
index 50c6704..5e3b08f 100644
--- a/amtk/amtk-action-info-store.h
+++ b/amtk/amtk-action-info-store.h
@@ -25,6 +25,7 @@
 #endif
 
 #include <gtk/gtk.h>
+#include <amtk/amtk-action-info.h>
 #include <amtk/amtk-types.h>
 
 G_BEGIN_DECLS
diff --git a/amtk/amtk-action-info.h b/amtk/amtk-action-info.h
index e484501..e0cd861 100644
--- a/amtk/amtk-action-info.h
+++ b/amtk/amtk-action-info.h
@@ -31,6 +31,8 @@ G_BEGIN_DECLS
 
 #define AMTK_TYPE_ACTION_INFO (amtk_action_info_get_type ())
 
+typedef struct _AmtkActionInfo AmtkActionInfo;
+
 /**
  * AmtkActionInfoEntry:
  * @action_name: the action name. Can be a detailed action name, see
diff --git a/amtk/amtk-types.h b/amtk/amtk-types.h
index 5ed5873..46ce17c 100644
--- a/amtk/amtk-types.h
+++ b/amtk/amtk-types.h
@@ -28,7 +28,6 @@
 
 G_BEGIN_DECLS
 
-typedef struct _AmtkActionInfo                 AmtkActionInfo;
 typedef struct _AmtkActionInfoEntry            AmtkActionInfoEntry;
 typedef struct _AmtkActionInfoStore            AmtkActionInfoStore;
 typedef struct _AmtkActionInfoCentralStore     AmtkActionInfoCentralStore;


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