Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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:46:59 +0200
On Fri, Aug 12, 2011 at 01:12:16AM +0200, Joerg Mayer wrote:
> Why do you do this?
> 
> #if CHECK_VERSION(2,22,0)
>   cairo_surface_t *surface;
> #else
>   GdkPixmap *pixmap;	         GdkPixmap *pixmap;
> #endif

OK, I think I found the answer:
gdk_window_create_similar_surface is a 2.22 function.

Ciao
    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.