Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2013-10-21 16:33:25 +0000
committerSilenio Quarti2013-10-21 16:33:25 +0000
commit8ff78dc82c169eaba1d98c37e14a85f324dc0a98 (patch)
tree7186b5fd4fc8d28dd1c88d76866cf3d07bb85a8f /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
parent25d9f99bae3ba84644ed6a921ea164452ae5da9d (diff)
downloadeclipse.platform.swt-silenio/bug407077.tar.gz
eclipse.platform.swt-silenio/bug407077.tar.xz
eclipse.platform.swt-silenio/bug407077.zip
Bug 407077 - (SWT:2591): GLib-GObject-WARNING **: gclosure.c:697: unable to remove uninstalled invalidation notifiersilenio/bug407077
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.c10
1 files changed, 10 insertions, 0 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 e7bb60deb9..2231032baa 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
@@ -2577,6 +2577,16 @@ JNIEXPORT jintLong JNICALL OS_NATIVE(_1g_1closure_1ref)
}
#endif
+#ifndef NO__1g_1closure_1sink
+JNIEXPORT void JNICALL OS_NATIVE(_1g_1closure_1sink)
+ (JNIEnv *env, jclass that, jintLong arg0)
+{
+ OS_NATIVE_ENTER(env, that, _1g_1closure_1sink_FUNC);
+ g_closure_sink((GClosure *)arg0);
+ OS_NATIVE_EXIT(env, that, _1g_1closure_1sink_FUNC);
+}
+#endif
+
#ifndef NO__1g_1closure_1unref
JNIEXPORT void JNICALL OS_NATIVE(_1g_1closure_1unref)
(JNIEnv *env, jclass that, jintLong arg0)

Back to the top