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.
On Thu, Aug 11, 2011 at 08:49:08PM +, etx...@wireshark.org 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/
>