unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13279: trunk uses gtk_handle_box_new etc., deprecated in GTK 3.4
@ 2012-12-26  5:57 Paul Eggert
  2012-12-30 19:35 ` Jan Djärv
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggert @ 2012-12-26  5:57 UTC (permalink / raw)
  To: 13279

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13279: trunk uses gtk_handle_box_new etc., deprecated in GTK 3.4
  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
  2012-12-30 21:46   ` Paul Eggert
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Djärv @ 2012-12-30 19:35 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 13279

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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13279: trunk uses gtk_handle_box_new etc., deprecated in GTK 3.4
  2012-12-30 19:35 ` Jan Djärv
@ 2012-12-30 21:46   ` Paul Eggert
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggert @ 2012-12-30 21:46 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 13279-done

Thanks for fixing it; closing the bug.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-30 21:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2012-12-30 21:46   ` Paul Eggert

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).