diff options
| author | Eric Williams | 2016-04-21 13:20:20 +0000 |
|---|---|---|
| committer | Eric Williams | 2016-04-21 13:20:20 +0000 |
| commit | cf344d18125866944c714112418407308ab5e2cf (patch) | |
| tree | ac2d03fbc2b1ef97ea9661d686015e8d0bb72f27 | |
| parent | 49807d830c551e52f478d4ccc4d6fa3f481d1f62 (diff) | |
| download | eclipse.platform.swt-cf344d18125866944c714112418407308ab5e2cf.tar.gz eclipse.platform.swt-cf344d18125866944c714112418407308ab5e2cf.tar.xz eclipse.platform.swt-cf344d18125866944c714112418407308ab5e2cf.zip | |
Bug 487467: [GTK3] org_eclipse_swt_widgets_Text.test_getTopIndex failsY20160421-1000
Fix up missing /*int*/ tag in OS.java.
Change-Id: Icf49027284ce5c898b533d221159277b65bf5ad6
Signed-off-by: Eric Williams <ericwill@redhat.com>
| -rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | 8 | ||||
| -rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java | 4 |
2 files changed, 6 insertions, 6 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 788d2f6970..fb6e308430 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 @@ -14976,18 +14976,18 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1scale_1set_1draw_1value) #endif #ifndef NO__1gtk_1scrollable_1get_1vadjustment -JNIEXPORT jlong JNICALL OS_NATIVE(_1gtk_1scrollable_1get_1vadjustment) +JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1scrollable_1get_1vadjustment) (JNIEnv *env, jclass that, jintLong arg0) { - jlong rc = 0; + jintLong rc = 0; OS_NATIVE_ENTER(env, that, _1gtk_1scrollable_1get_1vadjustment_FUNC); /* - rc = (jlong)gtk_scrollable_get_vadjustment((GtkScrollable *)arg0); + rc = (jintLong)gtk_scrollable_get_vadjustment((GtkScrollable *)arg0); */ { OS_LOAD_FUNCTION(fp, gtk_scrollable_get_vadjustment) if (fp) { - rc = (jlong)((jlong (CALLING_CONVENTION*)(GtkScrollable *))fp)((GtkScrollable *)arg0); + rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkScrollable *))fp)((GtkScrollable *)arg0); } } OS_NATIVE_EXIT(env, that, _1gtk_1scrollable_1get_1vadjustment_FUNC); diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java index 114630ca83..34090a99b8 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java @@ -11338,8 +11338,8 @@ public static final void gtk_scale_set_draw_value(long /*int*/ scale, boolean dr * @method flags=dynamic * @param scrollable cast=(GtkScrollable *) */ -public static final native long _gtk_scrollable_get_vadjustment(long /*int*/ scrollable); -public static final long gtk_scrollable_get_vadjustment(long /*int*/ scrollable) { +public static final native long /*int*/ _gtk_scrollable_get_vadjustment(long /*int*/ scrollable); +public static final long /*int*/ gtk_scrollable_get_vadjustment(long /*int*/ scrollable) { lock.lock(); try { return _gtk_scrollable_get_vadjustment(scrollable); |
