summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkcursor-win32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@src.gnome.org>1999-11-17 00:45:37 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-11-17 00:45:37 +0000
commiteec6970fe2c427075cfc00e2835a8f3152868e07 (patch)
treedf44205dc2e5dfbe4377206eac2748757f40243c /gdk/win32/gdkcursor-win32.c
parent3a330a3d6be5989c00e02d071a672fca3ef5a205 (diff)
downloadgtk+-eec6970fe2c427075cfc00e2835a8f3152868e07.tar.gz
Intermediate commit. I go to bed now.
Diffstat (limited to 'gdk/win32/gdkcursor-win32.c')
-rw-r--r--gdk/win32/gdkcursor-win32.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdk/win32/gdkcursor-win32.c b/gdk/win32/gdkcursor-win32.c
index 78623a25f2..8f9c07c126 100644
--- a/gdk/win32/gdkcursor-win32.c
+++ b/gdk/win32/gdkcursor-win32.c
@@ -20,7 +20,7 @@
#include "config.h"
#include "gdkcursor.h"
-#include "gdkprivate.h"
+#include "gdkwin32.h"
static const struct { const char *name; int type; } cursors[] = {
{ "x_cursor", 0 },
@@ -109,7 +109,6 @@ gdk_cursor_new (GdkCursorType cursor_type)
GdkCursorPrivate *private;
GdkCursor *cursor;
HCURSOR xcursor;
-
int i;
for (i = 0; cursors[i].name != NULL && cursors[i].type != cursor_type; i++)
@@ -235,9 +234,9 @@ gdk_cursor_new_from_pixmap (GdkPixmap *source,
GDK_NOTE (MISC, g_print ("gdk_cursor_new_from_pixmap: "
"%#x (%dx%d) %#x (%dx%d) = %#x (%dx%d)\n",
- source_private->xwindow,
+ GDK_DRAWABLE_XID (source),
source_private->width, source_private->height,
- mask_private->xwindow,
+ GDK_DRAWABLE_XID (mask),
mask_private->width, mask_private->height,
xcursor, cursor_width, cursor_height));