Skip to content

Commit 6dea32b

Browse files
ceyusaaperezdc
authored andcommitted
wayland: Fix compiler warning.
cog-popup-menu-wl.c:49:3: warning: redefinition of typedef 'CogPopupMenu' is a C11 feature [-Wtypedef-redefinition]
1 parent 54fe23c commit 6dea32b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform/wayland/cog-popup-menu-wl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#include <stdio.h>
1717

18-
typedef struct _CogPopupMenu {
18+
struct _CogPopupMenu {
1919
WebKitOptionMenu *option_menu;
2020

2121
int shm_pool_fd;
@@ -46,7 +46,7 @@ typedef struct _CogPopupMenu {
4646
int finalized_local_index;
4747
int finalized_selection_index;
4848
bool pending_changes;
49-
} CogPopupMenu;
49+
};
5050

5151
#define VERTICAL_PADDING 20
5252
#define HORIZONTAL_PADDING 40

0 commit comments

Comments
 (0)