Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Spektor2012-10-02 12:59:30 +0000
committerAlexander Kurtakov2012-10-02 17:38:06 +0000
commitffe5186c17b22da6dd8ec55ad2dd5f424adf803a (patch)
tree48586f0c1626d1296c6dc165a63435dc6562dacf /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
parented548011f4f983818b96640d346d126775013185 (diff)
downloadeclipse.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.java2
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;
}
}

Back to the top