diff dw.h @ 776:425f3d46b75f

Accidentally clobbered something in dw.h required for GTK 2.x.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 20 Mar 2011 05:21:09 +0000
parents 5ec50e403a8a
children c1e93dd575a5
line wrap: on
line diff
--- a/dw.h	Sun Mar 20 05:12:40 2011 +0000
+++ b/dw.h	Sun Mar 20 05:21:09 2011 +0000
@@ -1256,7 +1256,12 @@
 
 typedef struct _hpixmap {
    unsigned long width, height;
+#if GTK_MAJOR_VERSION > 2
    GdkPixbuf *pixbuf;  /* the actual image */
+#else
+   GdkPixmap *pixmap;  /* the actual image */ 
+   GdkBitmap *bitmap;  /* if not null, the image mask representing the transparency mask */ 
+#endif
    HWND handle;
 } *HPIXMAP;