Subject: bug#13279: trunk uses gtk_handle_box_new etc., deprecated in GTK 3.4

From: Paul Eggert <[email-masked]>
Date: Tue, 25 Dec 2012 21:57:59 -0800

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