summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkx.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>1999-10-05 19:04:48 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-10-05 19:04:48 +0000
commitd23e3848a93e052763c6290528312b9f1e332df2 (patch)
treed16177a910b5a1648fac1105b9a2b900851b0275 /gdk/win32/gdkx.h
parent069932c2a8744a5352537c6fa3b462e3e58997ea (diff)
downloadgtk+-d23e3848a93e052763c6290528312b9f1e332df2.tar.gz
Corresponding changes as in X11 backend.
1999-10-05 Tor Lillqvist <tml@iki.fi> * gdk/win32/*.[ch]: Corresponding changes as in X11 backend. * gdk/win32/gdkcompat.c: New file, actually provide an implementation for the deprecated functions. (Just temporarily.) * gtk/gtkfilesel.c: Fix an #ifdef syntax botch. * gtk/makefile.{cygwin,msc}: Update gdk_headers. * gdk/win32/gdk.def gtk/gtk.def: Updates.
Diffstat (limited to 'gdk/win32/gdkx.h')
-rw-r--r--gdk/win32/gdkx.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdk/win32/gdkx.h b/gdk/win32/gdkx.h
index 34724393f7..7e8f8aded0 100644
--- a/gdk/win32/gdkx.h
+++ b/gdk/win32/gdkx.h
@@ -36,8 +36,10 @@
#define GDK_ROOT_WINDOW() ((guint32) HWND_DESKTOP)
#define GDK_ROOT_PARENT() ((GdkWindow *)&gdk_root_parent)
#define GDK_DISPLAY() NULL
-#define GDK_WINDOW_XDISPLAY(win) NULL
-#define GDK_WINDOW_XWINDOW(win) (((GdkWindowPrivate*) win)->xwindow)
+#define GDK_DRAWABLE_XDISPLAY(win) NULL
+#define GDK_DRAWABLE_XID(win) (((GdkDrawablePrivate*) win)->xwindow)
+#define GDK_WINDOW_XDISPLAY GDK_DRAWABLE_XDISPLAY
+#define GDK_WINDOW_XWINDOW GDK_DRAWABLE_XID
#define GDK_IMAGE_XDISPLAY(image) NULL
#define GDK_IMAGE_XIMAGE(image) (((GdkImagePrivate*) image)->ximage)
#define GDK_GC_XDISPLAY(gc) NULL