menu: Move enum declaration to correct header

That enum is used in GtkMenuShellClass, so put it there.
This commit is contained in:
Benjamin Otte 2013-03-26 13:14:05 +01:00
parent 030c65f299
commit 436af3fcb5
2 changed files with 7 additions and 7 deletions

View File

@ -36,13 +36,6 @@ typedef enum
GTK_DIRECTION_RIGHT
} GtkSubmenuDirection;
/* Placement of submenus */
typedef enum
{
GTK_TOP_BOTTOM,
GTK_LEFT_RIGHT
} GtkSubmenuPlacement;
struct _GtkMenuPrivate
{

View File

@ -26,6 +26,13 @@
G_BEGIN_DECLS
/* Placement of submenus */
typedef enum
{
GTK_TOP_BOTTOM,
GTK_LEFT_RIGHT
} GtkSubmenuPlacement;
struct _GtkMenuShellPrivate
{
GList *children;