ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 38490: /trunk/gtk/ /trunk/gtk/: io_s

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Fri, 12 Aug 2011 01:12:16 +0200
On Thu, Aug 11, 2011 at 08:49:08PM +0000, etxrab@xxxxxxxxxxxxx wrote:
> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38490
> 
> User: etxrab
> Date: 2011/08/11 01:49 PM
> 
> Log:
>  Remove remaining GDK deprecated functons.
>  (Use cairo_surface_t).
> 
> Directory: /trunk/gtk/
>   Changes    Path          Action
>   +94 -0     io_stat.c     Modified

Why do you do this?

#if CHECK_VERSION(2,22,0)
  cairo_surface_t *surface;
#else
  GdkPixmap *pixmap;	         GdkPixmap *pixmap;
#endif

Thanks
   Joerg
-- 
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.