summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-02-27 10:30:01 (EST)
committer Silenio Quarti2012-02-28 12:39:55 (EST)
commitc4cf222e3fe3cc10edd722f83c8c46fcaaa0e328 (patch)
tree2cd36069ff0abdf036ff9b00951afabe9cb0b8c6
parentd3c0efa94b11c766b17f4670a7e8438e97a87bdc (diff)
downloadeclipse.platform.swt-c4cf222e3fe3cc10edd722f83c8c46fcaaa0e328.zip
eclipse.platform.swt-c4cf222e3fe3cc10edd722f83c8c46fcaaa0e328.tar.gz
eclipse.platform.swt-c4cf222e3fe3cc10edd722f83c8c46fcaaa0e328.tar.bz2
Remove gtk_tooltip_trigger_tooltip_query.
The function is not used anywhere.
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c18
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java13
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 b40a20b..01c8304 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 fc78945..08d483c 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 311f8be..5da325e 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 12857a1..77f16a9 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) {