]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-annotation-window.c
libview: Don't use gdk_cursor_unref()
[evince.git] / libview / ev-annotation-window.c
index da77200cbbdda2331d1c923072470ce95cbe2a03..f47d9f6da10f48d84e1c63e204e5b47be0af3f6c 100644 (file)
@@ -253,7 +253,7 @@ ev_annotation_window_set_resize_cursor (GtkWidget          *widget,
                                                     GDK_BOTTOM_LEFT_CORNER :
                                                     GDK_BOTTOM_RIGHT_CORNER);
                gdk_window_set_cursor (gdk_window, cursor);
-               gdk_cursor_unref (cursor);
+               g_object_unref (cursor);
        } else {
                gdk_window_set_cursor (gdk_window, NULL);
        }