FS#32365 - [networkmanager-pptp] build error ‘gtk_table_attach_defaults’ is deprecated

Attached to Project: Arch Linux
Opened by Clemens Buchacher (drizzd) - Thursday, 01 November 2012, 16:36 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 05:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

$ ./configure && make
[...]
gcc -DGTK_DISABLE_DEPRECATED -Wall -Werror [...] vpn-password-dialog.c
vpn-password-dialog.c: In function ‘add_row’:
vpn-password-dialog.c:127:2: error: ‘gtk_table_attach_defaults’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:120): Use 'GtkGrid' instead [-Werror=deprecated-declarations]

Upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=679130

The report is dated 2012-06-29, so it does not seem like this will be fixed any time soon. I submitted a patch to the mailing list, but I wouldn't hold my breath. Can we add --enable-more-warnings=no to the configure options as a workaround?

Additional info:

networkmanager-pptp 0.9.6.0-1
gtk3 3.6.1-1
gcc 4.7.2-2

Steps to reproduce:

sudo abs extra/networkmanager-pptp
cp -r /var/abs/extra/networkmanager-pptp ~/
cd ~/networkmanager-pptp
makepkg -s
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Saturday, 17 November 2012, 05:22 GMT
Reason for closing:  Upstream
Comment by Clemens Buchacher (drizzd) - Friday, 02 November 2012, 17:28 GMT
Fixed upstream. Should be in next release I suppose.

Loading...