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



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

    types: move a typedef to its respective header

 amtk/amtk-menu-shell.h | 1 +
 amtk/amtk-types.h      | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/amtk/amtk-menu-shell.h b/amtk/amtk-menu-shell.h
index b252683..8518078 100644
--- a/amtk/amtk-menu-shell.h
+++ b/amtk/amtk-menu-shell.h
@@ -36,6 +36,7 @@ G_BEGIN_DECLS
 #define AMTK_IS_MENU_SHELL_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), AMTK_TYPE_MENU_SHELL))
 #define AMTK_MENU_SHELL_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), AMTK_TYPE_MENU_SHELL, 
AmtkMenuShellClass))
 
+typedef struct _AmtkMenuShell         AmtkMenuShell;
 typedef struct _AmtkMenuShellClass    AmtkMenuShellClass;
 typedef struct _AmtkMenuShellPrivate  AmtkMenuShellPrivate;
 
diff --git a/amtk/amtk-types.h b/amtk/amtk-types.h
index a183e2b..a5d5583 100644
--- a/amtk/amtk-types.h
+++ b/amtk/amtk-types.h
@@ -28,8 +28,6 @@
 
 G_BEGIN_DECLS
 
-typedef struct _AmtkMenuShell AmtkMenuShell;
-
 #ifndef _AMTK_EXTERN
 #define _AMTK_EXTERN extern
 #endif


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