diff options
author | Po Lu <luangruo@yahoo.com> | 2022-02-22 18:46:12 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-02-22 18:46:19 +0800 |
commit | f7b5553045e2903852f0a9a90b382d1617ff18a0 (patch) | |
tree | 9339bfcb1f6ca388d43303a732ff9e18be9e79c3 /src/gtkutil.h | |
parent | c914572a46ca1e9de14bfeb4a6e993714f146851 (diff) |
Fix GTK build with GLib <2.44
* src/gtkutil.c (struct _EmacsMenuBar, EmacsMenuBar): New
structs.
(emacs_menu_bar_get_type): New function declaration.
* src/gtkutil.c: Remove declaration of EmacsMenuBar class.
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r-- | src/gtkutil.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h index f850ecc4219..b74244d84d0 100644 --- a/src/gtkutil.h +++ b/src/gtkutil.h @@ -83,10 +83,6 @@ typedef struct xg_menu_item_cb_data_ } xg_menu_item_cb_data; -#ifdef HAVE_GTK3 -G_DECLARE_FINAL_TYPE (EmacsMenuBar, emacs_menu_bar, EMACS, MENU_BAR, GtkMenuBar) -#endif - extern bool xg_uses_old_file_dialog (void); extern char *xg_get_file_name (struct frame *f, |