Wireshark-bugs: [Wireshark-bugs] [Bug 7705] New: gtk_table_new is deprecated in gtk+-3.5
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7705
Summary: gtk_table_new is deprecated in gtk+-3.5
Product: Wireshark
Version: SVN
Platform: x86
OS/Version: All
Status: NEW
Severity: Major
Priority: Low
Component: Wireshark
AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
ReportedBy: ojab@xxxxxxx
Created attachment 9097
--> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=9097
Full log
Build Information:
wireshark-trunk, svn rev. 44804
gtk+-3.5.16
--
gtk_table_new is deprecated in GTK3 dev. version 3.5.16, so it will be
deprecated in stable GTK+-3.6. Full error log can be found in the attached
file.
make[2]: Entering directory `/sources/wireshark/ui/gtk'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../wiretap -DINET6
-DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES
-DGTK_DISABLE_SINGLE_INCLUDES -D_U_="__attribute__((unused))"
-D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -I/usr/include
'-DPLUGIN_DIR="/usr/lib/wireshark/plugins/1.9.0"' -Werror -g -O2 -Wall -W
-Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
-Wold-style-definition -Wno-error=unused-but-set-variable
-fexcess-precision=fast -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/pixman-1 -I/usr/include/libpng15 -MT libgtkui_a-capture_dlg.o
-MD -MP -MF .deps/libgtkui_a-capture_dlg.Tpo -c -o libgtkui_a-capture_dlg.o
`test -f 'capture_dlg.c' || echo './'`capture_dlg.c
capture_dlg.c: In function ‘capture_prep_cb’:
capture_dlg.c:4657:3: error: ‘gtk_table_new’ is deprecated (declared at
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:101): Use 'GtkGrid' instead
[-Werror=deprecated-declarations]
capture_dlg.c:4658:3: error: ‘gtk_table_set_row_spacings’ is deprecated
(declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:141): Use 'GtkGrid'
instead [-Werror=deprecated-declarations]
capture_dlg.c:4659:3: error: ‘gtk_table_set_col_spacings’ is deprecated
(declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:146): Use 'GtkGrid'
instead [-Werror=deprecated-declarations]
capture_dlg.c:4672:3: 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]
capture_dlg.c:4679:3: 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]
…
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.