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



commit 5497b0a3925af3e660c71c4d2775911ae32e3c49
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date:   Thu Sep 9 03:11:13 2021 +0200

    types: move a typedef to its respective header

 amtk/amtk-factory.h | 1 +
 amtk/amtk-types.h   | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/amtk/amtk-factory.h b/amtk/amtk-factory.h
index 5fb714d..7ad9207 100644
--- a/amtk/amtk-factory.h
+++ b/amtk/amtk-factory.h
@@ -37,6 +37,7 @@ G_BEGIN_DECLS
 #define AMTK_IS_FACTORY_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), AMTK_TYPE_FACTORY))
 #define AMTK_FACTORY_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), AMTK_TYPE_FACTORY, 
AmtkFactoryClass))
 
+typedef struct _AmtkFactory         AmtkFactory;
 typedef struct _AmtkFactoryClass    AmtkFactoryClass;
 typedef struct _AmtkFactoryPrivate  AmtkFactoryPrivate;
 
diff --git a/amtk/amtk-types.h b/amtk/amtk-types.h
index 85d9632..a183e2b 100644
--- a/amtk/amtk-types.h
+++ b/amtk/amtk-types.h
@@ -28,8 +28,7 @@
 
 G_BEGIN_DECLS
 
-typedef struct _AmtkFactory                    AmtkFactory;
-typedef struct _AmtkMenuShell                  AmtkMenuShell;
+typedef struct _AmtkMenuShell AmtkMenuShell;
 
 #ifndef _AMTK_EXTERN
 #define _AMTK_EXTERN extern


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