diff options
author | Alexander Kurtakov | 2012-02-27 15:30:01 +0000 |
---|---|---|
committer | Silenio Quarti | 2012-02-28 17:39:55 +0000 |
commit | c4cf222e3fe3cc10edd722f83c8c46fcaaa0e328 (patch) | |
tree | 2cd36069ff0abdf036ff9b00951afabe9cb0b8c6 | |
parent | d3c0efa94b11c766b17f4670a7e8438e97a87bdc (diff) | |
download | eclipse.platform.ui-c4cf222e3fe3cc10edd722f83c8c46fcaaa0e328.tar.gz eclipse.platform.ui-c4cf222e3fe3cc10edd722f83c8c46fcaaa0e328.tar.xz eclipse.platform.ui-c4cf222e3fe3cc10edd722f83c8c46fcaaa0e328.zip |
Remove gtk_tooltip_trigger_tooltip_query.
The function is not used anywhere.
4 files changed, 2 insertions, 35 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 b40a20bb165..01c8304d170 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 @@ -14251,24 +14251,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1toolbar_1set_1orientation) } #endif -#ifndef NO__1gtk_1tooltip_1trigger_1tooltip_1query -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1tooltip_1trigger_1tooltip_1query) - (JNIEnv *env, jclass that, jintLong arg0) -{ - OS_NATIVE_ENTER(env, that, _1gtk_1tooltip_1trigger_1tooltip_1query_FUNC); -/* - gtk_tooltip_trigger_tooltip_query((GdkDisplay*)arg0); -*/ - { - OS_LOAD_FUNCTION(fp, gtk_tooltip_trigger_tooltip_query) - if (fp) { - ((void (CALLING_CONVENTION*)(GdkDisplay*))fp)((GdkDisplay*)arg0); - } - } - OS_NATIVE_EXIT(env, that, _1gtk_1tooltip_1trigger_1tooltip_1query_FUNC); -} -#endif - #ifndef NO__1gtk_1tooltips_1data_1get JNIEXPORT jintLong JNICALL OS_NATIVE(_1gtk_1tooltips_1data_1get) (JNIEnv *env, jclass that, jintLong arg0) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c index fc78945e227..08d483c18c9 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c @@ -18,8 +18,8 @@ #ifdef NATIVE_STATS -int OS_nativeFunctionCount = 1379; -int OS_nativeFunctionCallCount[1379]; +int OS_nativeFunctionCount = 1378; +int OS_nativeFunctionCallCount[1378]; char * OS_nativeFunctionNames[] = { #ifndef JNI64 "Call__IIII", @@ -1104,7 +1104,6 @@ char * OS_nativeFunctionNames[] = { "_1gtk_1toolbar_1insert_1widget", "_1gtk_1toolbar_1new", "_1gtk_1toolbar_1set_1orientation", - "_1gtk_1tooltip_1trigger_1tooltip_1query", "_1gtk_1tooltips_1data_1get", "_1gtk_1tooltips_1disable", "_1gtk_1tooltips_1enable", diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h index 311f8bee1f4..5da325ed38e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h @@ -1112,7 +1112,6 @@ typedef enum { _1gtk_1toolbar_1insert_1widget_FUNC, _1gtk_1toolbar_1new_FUNC, _1gtk_1toolbar_1set_1orientation_FUNC, - _1gtk_1tooltip_1trigger_1tooltip_1query_FUNC, _1gtk_1tooltips_1data_1get_FUNC, _1gtk_1tooltips_1disable_FUNC, _1gtk_1tooltips_1enable_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 12857a1e6a8..77f16a9e839 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 @@ -5201,19 +5201,6 @@ public static final native void gdk_threads_leave (); * @method flags=dynamic */ public static final native void gdk_threads_set_lock_functions(int /*long*/ enter_fn, int /*long*/ leave_fn); -/** - * @method flags=dynamic - * @param display cast=(GdkDisplay*) - */ -public static final native void _gtk_tooltip_trigger_tooltip_query (int /*long*/ display); -public static final void gtk_tooltip_trigger_tooltip_query (int /*long*/ display){ - lock.lock(); - try { - _gtk_tooltip_trigger_tooltip_query (display); - } finally { - lock.unlock(); - } -} public static final native int _gdk_unicode_to_keyval(int wc); public static final int gdk_unicode_to_keyval(int wc) { |