[gtk+] quartz: s/gdk_cursor_ref/g_object_ref/



commit 90b991dd13b8ec180ac3be4f52bcc9809207cd68
Author: Michael Natterer <mitch lanedo com>
Date:   Thu Jan 26 10:37:12 2012 +0100

    quartz: s/gdk_cursor_ref/g_object_ref/

 gdk/quartz/gdkcursor-quartz.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/quartz/gdkcursor-quartz.c b/gdk/quartz/gdkcursor-quartz.c
index 22b7676..0f06c2e 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];



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]