unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: emacs-devel@gnu.org
Cc: Po Lu <luangruo@yahoo.com>
Subject: Re: master e087c89b1e: Prevent GTK from setting unreasonable size hints with large menu bars
Date: Tue, 22 Feb 2022 09:37:42 +0100	[thread overview]
Message-ID: <878ru370vd.fsf@igel.home> (raw)
In-Reply-To: <20220221063110.50C7BC07B76@vcs2.savannah.gnu.org> (Po Lu via Mailing list for Emacs changes's message of "Mon, 21 Feb 2022 01:31:10 -0500 (EST)")

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	other threads:[~2022-02-22  8:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <164542506993.4058.7868718805924451854@vcs2.savannah.gnu.org>
     [not found] ` <20220221063110.50C7BC07B76@vcs2.savannah.gnu.org>
2022-02-22  8:37   ` Andreas Schwab [this message]
2022-02-22  9:58     ` master e087c89b1e: Prevent GTK from setting unreasonable size hints with large menu bars Po Lu
2022-02-22 10:29       ` martin rudalics
2022-02-22 10:34         ` Po Lu
2022-02-22 10:29       ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ru370vd.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).