Commit 032b0aab authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

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
parent 07420f8d
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, ...@@ -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];
......
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