Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 38576: /trunk/gtk/ /trunk/gtk/: colo
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 17 Aug 2011 16:04:30 +0200
On Wed, Aug 17, 2011 at 01:49:48PM +0000, etxrab@xxxxxxxxxxxxx wrote:
> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38576
> 
> User: etxrab
> Date: 2011/08/17 06:49 AM
> 
>  Get further with compiling with GTK 3.0
>  (No functional testing done yet)
...
>   +22 -1     filter_dlg.c             Modified

It introduces an additional compile error when building with GTK3 on my system:

/home/jmayer/work/wireshark/svn/trunk/gtk/filter_dlg.c: In function ‘color_filter_te’:
/home/jmayer/work/wireshark/svn/trunk/gtk/filter_dlg.c:1257:5: error: passing argument 3 of ‘gtk_widget_override_color’ from incompatible pointer type
/usr/include/gtk-3.0/gtk/gtkwidget.h:768:14: note: expected ‘const struct GdkRGBA *’ but argument is of type ‘struct GdkColor *’
/home/jmayer/work/wireshark/svn/trunk/gtk/filter_dlg.c:1259:2: error: passing argument 3 of ‘gtk_widget_override_cursor’ from incompatible pointer type
/usr/include/gtk-3.0/gtk/gtkwidget.h:781:14: note: expected ‘const struct GdkRGBA *’ but argument is of type ‘struct GdkColor *’
/home/jmayer/work/wireshark/svn/trunk/gtk/filter_dlg.c:1259:2: error: too many arguments to function ‘gtk_widget_override_cursor’
/usr/include/gtk-3.0/gtk/gtkwidget.h:781:14: note: declared here
/home/jmayer/work/wireshark/svn/trunk/gtk/filter_dlg.c: In function ‘colorize_filter_te_as_empty’:
/home/jmayer/work/wireshark/svn/trunk/gtk/filter_dlg.c:1282:2: error: too many arguments to function ‘gtk_widget_override_cursor’
/usr/include/gtk-3.0/gtk/gtkwidget.h:781:14: note: declared here
make[2]: *** [gtk/CMakeFiles/ui.dir/filter_dlg.c.o] Error 1

Ciao
    Jörg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.