From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 13279@debbugs.gnu.org
Subject: bug#13279: trunk uses gtk_handle_box_new etc., deprecated in GTK 3.4
Date: Sun, 30 Dec 2012 20:35:30 +0100 [thread overview]
Message-ID: <50E09782.5090003@swipnet.se> (raw)
In-Reply-To: <50DA91E7.1020308@cs.ucla.edu>
Hello.
I've added a configure checks for those in the trunk, so we wont use them once
they are removed. Also, I silenced deprecation warnings by default.
Use configure option --enable-gtk-deprecation-warnings to see them.
Jan D.
On 2012-12-26 06:57, Paul Eggert wrote:
> When building trunk bzr 111334 on Ubuntu 12.10 x86-64,
> configured with "configure --enable-gcc-warnings", I
> get the following diagnostics. This problem seems related
> to Bug#11768 (which was for Ubuntu 12.04 x86 and which was
> fixed), but these diagnostics seem new, presumably because
> Ubuntu 12.10 is running a newer release of gtk3 (3.6).
> gtk_handle_box_new has been deprecated since version 3.4.
>
> As before, I'm not familiar with gtk3, but can someone who
> is familiar please look into it? Thanks.
>
> gtkutil.c: In function ‘create_menus’:
> gtkutil.c:2604:7: error: ‘gtk_tearoff_menu_item_new’ is deprecated (declared
> at /usr/include/gtk-3.0/gtk/deprecated/gtktearoffmenuitem.h:70)
> [-Werror=deprecated-declarations]
> gtkutil.c: In function ‘xg_pack_tool_bar’:
> gtkutil.c:4286:7: error: ‘gtk_handle_box_new’ is deprecated (declared at
> /usr/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h:79)
> [-Werror=deprecated-declarations]
> gtkutil.c:4297:7: error: ‘gtk_handle_box_set_handle_position’ is deprecated
> (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h:86)
> [-Werror=deprecated-declarations]
> gtkutil.c:4311:7: error: ‘gtk_handle_box_set_handle_position’ is deprecated
> (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h:86)
> [-Werror=deprecated-declarations]
> cc1: all warnings being treated as errors
> make[1]: *** [gtkutil.o] Error 1
next prev parent reply other threads:[~2012-12-30 19:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-26 5:57 bug#13279: trunk uses gtk_handle_box_new etc., deprecated in GTK 3.4 Paul Eggert
2012-12-30 19:35 ` Jan Djärv [this message]
2012-12-30 21:46 ` Paul Eggert
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=50E09782.5090003@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=13279@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
/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).