diff options
author | Anatoly Spektor | 2012-10-02 12:59:30 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2012-10-02 17:38:06 +0000 |
commit | ffe5186c17b22da6dd8ec55ad2dd5f424adf803a (patch) | |
tree | 48586f0c1626d1296c6dc165a63435dc6562dacf /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | |
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 PI/gtk/library/os.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c index e79e8caa0b..9693360a8c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c @@ -4871,7 +4871,15 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1cursor_1unref) (JNIEnv *env, jclass that, jintLong arg0) { OS_NATIVE_ENTER(env, that, _1gdk_1cursor_1unref_FUNC); - gdk_cursor_unref((GdkCursor *)arg0); +/* + gdk_cursor_unref(arg0); +*/ + { + OS_LOAD_FUNCTION(fp, gdk_cursor_unref) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); + } + } OS_NATIVE_EXIT(env, that, _1gdk_1cursor_1unref_FUNC); } #endif |