mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
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:
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>
|
||||
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user