menu: Move enum into only source file using it

This commit is contained in:
Benjamin Otte 2019-04-15 00:45:46 +02:00
parent 5473d13470
commit 0cd2946676
2 changed files with 7 additions and 8 deletions

View File

@ -103,6 +103,13 @@
* the .left or .right style class.
*/
/* Directions for submenus */
typedef enum
{
GTK_DIRECTION_LEFT,
GTK_DIRECTION_RIGHT
} GtkSubmenuDirection;
enum {
ACTIVATE,

View File

@ -31,14 +31,6 @@
G_BEGIN_DECLS
/* Directions for submenus */
typedef enum
{
GTK_DIRECTION_LEFT,
GTK_DIRECTION_RIGHT
} GtkSubmenuDirection;
struct _GtkMenuPrivate
{
GtkWidget *parent_menu_item;