Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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.c12
1 files changed, 12 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 8c5ecf58d6..0961fef1aa 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
@@ -8231,6 +8231,18 @@ JNIEXPORT jint JNICALL OS_NATIVE(gtk_1widget_1get_1direction)
}
#endif
+#ifndef NO_gtk_1widget_1get_1events
+JNIEXPORT jint JNICALL OS_NATIVE(gtk_1widget_1get_1events)
+ (JNIEnv *env, jclass that, jint arg0)
+{
+ jint rc;
+ OS_NATIVE_ENTER(env, that, gtk_1widget_1get_1events_FUNC);
+ rc = (jint)gtk_widget_get_events((GtkWidget *)arg0);
+ OS_NATIVE_EXIT(env, that, gtk_1widget_1get_1events_FUNC);
+ return rc;
+}
+#endif
+
#ifndef NO_gtk_1widget_1get_1modifier_1style
JNIEXPORT jint JNICALL OS_NATIVE(gtk_1widget_1get_1modifier_1style)
(JNIEnv *env, jclass that, jint arg0)

Back to the top