menu: Move enum declaration to correct header
That enum is used in GtkMenuShellClass, so put it there.
This commit is contained in:
@ -36,13 +36,6 @@ typedef enum
|
|||||||
GTK_DIRECTION_RIGHT
|
GTK_DIRECTION_RIGHT
|
||||||
} GtkSubmenuDirection;
|
} GtkSubmenuDirection;
|
||||||
|
|
||||||
/* Placement of submenus */
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
GTK_TOP_BOTTOM,
|
|
||||||
GTK_LEFT_RIGHT
|
|
||||||
} GtkSubmenuPlacement;
|
|
||||||
|
|
||||||
|
|
||||||
struct _GtkMenuPrivate
|
struct _GtkMenuPrivate
|
||||||
{
|
{
|
||||||
|
@ -26,6 +26,13 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
/* Placement of submenus */
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
GTK_TOP_BOTTOM,
|
||||||
|
GTK_LEFT_RIGHT
|
||||||
|
} GtkSubmenuPlacement;
|
||||||
|
|
||||||
struct _GtkMenuShellPrivate
|
struct _GtkMenuShellPrivate
|
||||||
{
|
{
|
||||||
GList *children;
|
GList *children;
|
||||||
|
Reference in New Issue
Block a user