Commit eb52c4f1 authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

Plug leak.

2007-07-14  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c:
	(_gdk_quartz_events_update_cursor): Plug leak.

svn path=/trunk/; revision=18468
parent ed82448b
2007-07-14 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c:
(_gdk_quartz_events_update_cursor): Plug leak.
2007-07-13 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkprivate-quartz.h:
......
......@@ -911,11 +911,15 @@ _gdk_quartz_events_update_cursor (GdkWindow *window)
private = private->parent;
}
GDK_QUARTZ_ALLOC_POOL;
if (!nscursor)
nscursor = [NSCursor arrowCursor];
if ([NSCursor currentCursor] != nscursor)
[nscursor set];
GDK_QUARTZ_RELEASE_POOL;
}
/* Translates coordinates from an ancestor window + coords, to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment