diff options
author | Alexander Kurtakov <akurtako@redhat.com> | 2012-03-14 11:18:17 +0200 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-03-19 10:31:39 -0400 |
commit | 04c22da729e18d1ddf8c71f457fb67dda8450de7 (patch) | |
tree | 3658acd82c3675efda3003781b1a6fd1087a90d1 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | |
parent | 28c088e52ae46fc9da6497a12e25dc62b56ffa40 (diff) | |
download | eclipse.platform.swt-04c22da729e18d1ddf8c71f457fb67dda8450de7.tar.gz eclipse.platform.swt-04c22da729e18d1ddf8c71f457fb67dda8450de7.tar.xz eclipse.platform.swt-04c22da729e18d1ddf8c71f457fb67dda8450de7.zip |
Replace gdk_cursor_destroy with gdk_cursor_unref.
The function removed (gdk_cursor_destroy) has been an alias for
gdk_cursor_unref from pre-2.4 gtk times and the define is removed in GTK
3.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java index c6a1119c2b..e58177427f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java @@ -1334,7 +1334,7 @@ int /*long*/ gtk_motion_notify_event (int /*long*/ widget, int /*long*/ event) { int /*long*/ window = OS.GTK_WIDGET_WINDOW (shellHandle); int /*long*/ cursor = OS.gdk_cursor_new (mode); OS.gdk_window_set_cursor (window, cursor); - OS.gdk_cursor_destroy (cursor); + OS.gdk_cursor_unref (cursor); display.resizeMode = mode; } } |