emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master e087c89b1e: Prevent GTK from setting unreasonable size hints


From: Andreas Schwab
Subject: Re: master e087c89b1e: Prevent GTK from setting unreasonable size hints with large menu bars
Date: Tue, 22 Feb 2022 09:37:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

On Feb 21 2022, Po Lu via Mailing list for Emacs changes wrote:

> diff --git a/src/gtkutil.h b/src/gtkutil.h
> index b74244d84d..f850ecc421 100644
> --- a/src/gtkutil.h
> +++ b/src/gtkutil.h
> @@ -83,6 +83,10 @@ 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

In file included from xdisp.c:467:0:
gtkutil.h:87:70: error: expected ‘)’ before ‘GtkMenuBar’
 G_DECLARE_FINAL_TYPE (EmacsMenuBar, emacs_menu_bar, EMACS, MENU_BAR, 
GtkMenuBar)
                                                                      ^

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]