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
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2007-07-18 Matthias Clasen <mclasen@redhat.com>
|
2007-07-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c: Correct some mistakes in the
|
* gtk/gtktreeview.c: Correct some mistakes in the
|
||||||
|
@ -211,7 +211,7 @@ gdk_cursor_new_for_display (GdkDisplay *display,
|
|||||||
nscursor = [NSCursor pointingHandCursor];
|
nscursor = [NSCursor pointingHandCursor];
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return create_builtin_cursor (cursor_type);
|
return gdk_cursor_ref (create_builtin_cursor (cursor_type));
|
||||||
}
|
}
|
||||||
|
|
||||||
[nscursor retain];
|
[nscursor retain];
|
||||||
|
Reference in New Issue
Block a user