diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2012-10-02 08:59:30 -0400 |
---|---|---|
committer | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-02 20:38:06 +0300 |
commit | ffe5186c17b22da6dd8ec55ad2dd5f424adf803a (patch) | |
tree | 48586f0c1626d1296c6dc165a63435dc6562dacf /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java | |
parent | ed548011f4f983818b96640d346d126775013185 (diff) | |
download | eclipse.platform.swt-ffe5186c17b22da6dd8ec55ad2dd5f424adf803a.tar.gz eclipse.platform.swt-ffe5186c17b22da6dd8ec55ad2dd5f424adf803a.tar.xz eclipse.platform.swt-ffe5186c17b22da6dd8ec55ad2dd5f424adf803a.zip |
Replace gdk_cursor_unref with g_object_unref for 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 9a67d462e0..73b4c6c806 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 @@ -1363,7 +1363,7 @@ long /*int*/ gtk_motion_notify_event (long /*int*/ widget, long /*int*/ event) { long /*int*/ window = gtk_widget_get_window (shellHandle); long /*int*/ cursor = OS.gdk_cursor_new (mode); OS.gdk_window_set_cursor (window, cursor); - OS.gdk_cursor_unref (cursor); + gdk_cursor_unref (cursor); display.resizeMode = mode; } } |