Wireshark-dev: [Wireshark-dev] compile error in airpcap_dlg.c:‘GTK_CAN_DEFAULT’ undeclared

From: Toralf Förster <toralf.foerster@xxxxxx>
Date: Wed, 28 Mar 2012 10:46:27 +0200
Since few days I got this eror (already made a distclean, autogen and 
configure) :

airpcap_dlg.c: In function ‘display_airpcap_key_management_cb’:
airpcap_dlg.c:2334:51: error: ‘GTK_CAN_DEFAULT’ undeclared (first use in this 
function)
airpcap_dlg.c:2334:51: note: each undeclared identifier is reported only once 
for each function it appears in
make[2]: *** [libgtkui_a-airpcap_dlg.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libgtkui_a-about_dlg.Tpo .deps/libgtkui_a-about_dlg.Po
make[2]: Leaving directory `/home/tfoerste/devel/wireshark/ui/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tfoerste/devel/wireshark'
make: *** [all] Error 2


My nuild 1-liner is :

CFLAGS="-O2 -march=native -pipe" CXXFLAGS="${CFLAGS}" ./configure --with-gtk3; 
sed -i 's/\-DGTK_DISABLE_DEPRECATED//g' ui/gtk/Makefile; sed -i 's/\-
DG_DISABLE_DEPRECATED//g' ui/gtk/Makefile; make -j 2


TIA for any advice.

-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3