Ref the cursor in the cached case.
2007-07-18 Richard Hult <richard@imendio.com> * gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref the cursor in the cached case. svn path=/trunk/; revision=18490
This commit is contained in:
committed by
Richard Hult
parent
07420f8d75
commit
032b0aab6b
@ -211,7 +211,7 @@ gdk_cursor_new_for_display (GdkDisplay *display,
|
||||
nscursor = [NSCursor pointingHandCursor];
|
||||
break;
|
||||
default:
|
||||
return create_builtin_cursor (cursor_type);
|
||||
return gdk_cursor_ref (create_builtin_cursor (cursor_type));
|
||||
}
|
||||
|
||||
[nscursor retain];
|
||||
|
||||
Reference in New Issue
Block a user