From 90b991dd13b8ec180ac3be4f52bcc9809207cd68 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Thu, 26 Jan 2012 10:37:12 +0100 Subject: [PATCH] quartz: s/gdk_cursor_ref/g_object_ref/ --- gdk/quartz/gdkcursor-quartz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/quartz/gdkcursor-quartz.c b/gdk/quartz/gdkcursor-quartz.c index 22b7676acb..0f06c2eb1e 100644 --- a/gdk/quartz/gdkcursor-quartz.c +++ b/gdk/quartz/gdkcursor-quartz.c @@ -180,7 +180,7 @@ create_builtin_cursor (GdkCursorType cursor_type) cursor = gdk_quartz_cursor_new_from_nscursor (nscursor, GDK_CURSOR_IS_PIXMAP); - cached_xcursors[cursor_type] = gdk_cursor_ref (cursor); + cached_xcursors[cursor_type] = g_object_ref (cursor); GDK_QUARTZ_RELEASE_POOL; @@ -243,7 +243,7 @@ _gdk_quartz_display_get_cursor_for_type (GdkDisplay *display, case GDK_BLANK_CURSOR: return create_blank_cursor (); default: - return gdk_cursor_ref (create_builtin_cursor (cursor_type)); + return g_object_ref (create_builtin_cursor (cursor_type)); } [nscursor retain];