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
This commit is contained in:
committed by
Richard Hult
parent
ed82448b9a
commit
eb52c4f1f8
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2007-07-13 Richard Hult <richard@imendio.com>
|
||||||
|
|
||||||
* gdk/quartz/gdkprivate-quartz.h:
|
* gdk/quartz/gdkprivate-quartz.h:
|
||||||
|
|||||||
@ -911,11 +911,15 @@ _gdk_quartz_events_update_cursor (GdkWindow *window)
|
|||||||
private = private->parent;
|
private = private->parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GDK_QUARTZ_ALLOC_POOL;
|
||||||
|
|
||||||
if (!nscursor)
|
if (!nscursor)
|
||||||
nscursor = [NSCursor arrowCursor];
|
nscursor = [NSCursor arrowCursor];
|
||||||
|
|
||||||
if ([NSCursor currentCursor] != nscursor)
|
if ([NSCursor currentCursor] != nscursor)
|
||||||
[nscursor set];
|
[nscursor set];
|
||||||
|
|
||||||
|
GDK_QUARTZ_RELEASE_POOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Translates coordinates from an ancestor window + coords, to
|
/* Translates coordinates from an ancestor window + coords, to
|
||||||
|
|||||||
Reference in New Issue
Block a user