diff options
Diffstat (limited to 'src/caja-window.c')
-rw-r--r-- | src/caja-window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-window.c b/src/caja-window.c index 6a1cb402..1392bad2 100644 --- a/src/caja-window.c +++ b/src/caja-window.c @@ -417,7 +417,11 @@ update_cursor (CajaWindow *window) { cursor = gdk_cursor_new (GDK_WATCH); gdk_window_set_cursor (gtk_widget_get_window (GTK_WIDGET (window)), cursor); +#if GTK_CHECK_VERSION(3,0,0) + g_object_unref (cursor); +#else gdk_cursor_unref (cursor); +#endif } else { |