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



commit e891dc5e8abec7ffd51fff55d124d2b9735a3534
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date:   Thu Sep 9 02:57:26 2021 +0200

    types: move a typedef to its respective header

 amtk/amtk-action-info.h | 3 ++-
 amtk/amtk-factory.h     | 1 +
 amtk/amtk-types.h       | 1 -
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/amtk/amtk-action-info.h b/amtk/amtk-action-info.h
index e0cd861..d974719 100644
--- a/amtk/amtk-action-info.h
+++ b/amtk/amtk-action-info.h
@@ -31,7 +31,8 @@ G_BEGIN_DECLS
 
 #define AMTK_TYPE_ACTION_INFO (amtk_action_info_get_type ())
 
-typedef struct _AmtkActionInfo AmtkActionInfo;
+typedef struct _AmtkActionInfo         AmtkActionInfo;
+typedef struct _AmtkActionInfoEntry    AmtkActionInfoEntry;
 
 /**
  * AmtkActionInfoEntry:
diff --git a/amtk/amtk-factory.h b/amtk/amtk-factory.h
index 7c57bd5..5fb714d 100644
--- a/amtk/amtk-factory.h
+++ b/amtk/amtk-factory.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-types.h b/amtk/amtk-types.h
index 46ce17c..dd8e03f 100644
--- a/amtk/amtk-types.h
+++ b/amtk/amtk-types.h
@@ -28,7 +28,6 @@
 
 G_BEGIN_DECLS
 
-typedef struct _AmtkActionInfoEntry            AmtkActionInfoEntry;
 typedef struct _AmtkActionInfoStore            AmtkActionInfoStore;
 typedef struct _AmtkActionInfoCentralStore     AmtkActionInfoCentralStore;
 typedef struct _AmtkApplicationWindow          AmtkApplicationWindow;


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