I'm using gtk 2.18 and when using r38300 I get:
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../wiretap -I/usr/local/include '-DPLUGIN_DIR="/usr/local/lib/wireshark/plugins/1.7.0"' -Werror -DINET6 -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -no-cpp-precomp -D_U_="__attribute__((unused))" -g -O2 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Wcast-align -Wformat-security -Wold-style-definition -I/usr/local/include -D_REENTRANT -I/usr/X11/include/cairo -I/usr/X11/include/pixman-1 -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include/libpng12 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -MT libui_a-gtkvumeter.o -MD -MP -MF .deps/libui_a-gtkvumeter.Tpo -c -o libui_a-gtkvumeter.o `test -f 'gtkvumeter.c' || echo './'`gtkvumeter.c
gtkvumeter.c: In function ‘gtk_vumeter_realize’:
gtkvumeter.c:166: error: ‘GtkObject’ has no member named ‘flags’
gtkvumeter.c: In function ‘gtk_vumeter_size_allocate’:
gtkvumeter.c:292: error: ‘GtkObject’ has no member named ‘flags’
gtkvumeter.c: In function ‘gtk_vumeter_redraw_timeout’:
gtkvumeter.c:668: error: ‘GtkObject’ has no member named ‘flags’
gtkvumeter.c: In function ‘gtk_vumeter_set_orientation’:
gtkvumeter.c:761: error: ‘GtkObject’ has no member named ‘flags’
gtkvumeter.c: In function ‘gtk_vumeter_set_scaling’:
gtkvumeter.c:984: error: ‘GtkObject’ has no member named ‘flags’
gtkvumeter.c: In function ‘gtk_vumeter_set_scale_items’:
gtkvumeter.c:1025: error: ‘GtkObject’ has no member named ‘flags’
gtkvumeter.c: In function ‘gtk_vumeter_set_colors_inverted’:
gtkvumeter.c:1236: error: ‘GtkObject’ has no member named ‘flags’
gtkvumeter.c: In function ‘gtk_vumeter_set_yellow_level’:
gtkvumeter.c:1268: error: ‘GtkObject’ has no member named ‘flags’
gtkvumeter.c: In function ‘gtk_vumeter_set_brightness’:
gtkvumeter.c:1300: error: ‘GtkObject’ has no member named ‘flags’
Without your patch I can compile it. So the problem seems to be related
to gtk_widget_get_realized() and gtk_widget_set_realized(). Any idea
how to fix this?
Best regards
Michael
On Jul 29, 2011, at 7:01 PM, stig@xxxxxxxxxxxxx wrote:
> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38261
>
> User: stig
> Date: 2011/07/29 10:01 AM
>
> Log:
> Try build with GSEAL_ENABLE if not gtk3 again.
>
> Directory: /trunk/
> Changes Path Action
> +4 -0 configure.in Modified
>
> ___________________________________________________________________________
> Sent via: Wireshark-commits mailing list <wireshark-commits@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-commits
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
> mailto:wireshark-commits-request@xxxxxxxxxxxxx?subject=unsubscribe
>