Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 38576: /trunk/gtk/ /trunk/gtk/: colo

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Wed, 17 Aug 2011 16:09:14 +0200
H,
Should get further on r38578 now stuck in main.c l 2841 gtk_rc_parse() 

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Joerg Mayer
Sent: den 17 augusti 2011 16:05
To: wireshark-dev@xxxxxxxxxxxxx
Subject: Re: [Wireshark-dev] [Wireshark-commits] rev 38576: /trunk/gtk/ /trunk/gtk/: color_dlg.c color_edit_dlg.c color_utils.c color_utils.h fileset_dlg.c filter_autocomplete.c filter_dlg.c

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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe