diff options
author | Alexander Kurtakov | 2012-03-16 10:05:57 +0000 |
---|---|---|
committer | Silenio Quarti | 2012-03-19 15:31:43 +0000 |
commit | 73a3f09dc6ae196c460ef7821d9e8fa119339024 (patch) | |
tree | 5bd147e46635051c7825b8144578bd459a080a00 | |
parent | c27c621aa803320b5517be4450b6e50b2e5aaf05 (diff) | |
download | eclipse.platform.swt-73a3f09dc6ae196c460ef7821d9e8fa119339024.tar.gz eclipse.platform.swt-73a3f09dc6ae196c460ef7821d9e8fa119339024.tar.xz eclipse.platform.swt-73a3f09dc6ae196c460ef7821d9e8fa119339024.zip |
Remove gdk_event_get_graphics_expose function.
It is not used by anything, deprecated and removed in GTK 3.
4 files changed, 2 insertions, 26 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 ffda830629..952450fa0a 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 @@ -5572,18 +5572,6 @@ fail: } #endif -#ifndef NO__1gdk_1event_1get_1graphics_1expose -JNIEXPORT jintLong JNICALL OS_NATIVE(_1gdk_1event_1get_1graphics_1expose) - (JNIEnv *env, jclass that, jintLong arg0) -{ - jintLong rc = 0; - OS_NATIVE_ENTER(env, that, _1gdk_1event_1get_1graphics_1expose_FUNC); - rc = (jintLong)gdk_event_get_graphics_expose((GdkWindow *)arg0); - OS_NATIVE_EXIT(env, that, _1gdk_1event_1get_1graphics_1expose_FUNC); - return rc; -} -#endif - #ifndef NO__1gdk_1event_1get_1root_1coords JNIEXPORT jboolean JNICALL OS_NATIVE(_1gdk_1event_1get_1root_1coords) (JNIEnv *env, jclass that, jintLong arg0, jdoubleArray arg1, jdoubleArray arg2) 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 60489341d0..37b7b07493 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 = 1384; -int OS_nativeFunctionCallCount[1384]; +int OS_nativeFunctionCount = 1383; +int OS_nativeFunctionCallCount[1383]; char * OS_nativeFunctionNames[] = { #ifndef JNI64 "Call__IIII", @@ -464,7 +464,6 @@ char * OS_nativeFunctionNames[] = { "_1gdk_1event_1free", "_1gdk_1event_1get", "_1gdk_1event_1get_1coords", - "_1gdk_1event_1get_1graphics_1expose", "_1gdk_1event_1get_1root_1coords", "_1gdk_1event_1get_1state", "_1gdk_1event_1get_1time", 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 54c59f705c..e0e8d4cb7c 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 @@ -472,7 +472,6 @@ typedef enum { _1gdk_1event_1free_FUNC, _1gdk_1event_1get_FUNC, _1gdk_1event_1get_1coords_FUNC, - _1gdk_1event_1get_1graphics_1expose_FUNC, _1gdk_1event_1get_1root_1coords_FUNC, _1gdk_1event_1get_1state_FUNC, _1gdk_1event_1get_1time_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 d81589ded6..9eb7de317c 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 @@ -4153,16 +4153,6 @@ public static final boolean gdk_event_get_coords(int /*long*/ event, double[] px lock.unlock(); } } -/** @param window cast=(GdkWindow *) */ -public static final native int /*long*/ _gdk_event_get_graphics_expose(int /*long*/ window); -public static final int /*long*/ gdk_event_get_graphics_expose(int /*long*/ window) { - lock.lock(); - try { - return _gdk_event_get_graphics_expose(window); - } finally { - lock.unlock(); - } -} /** * @param event cast=(GdkEvent *) * @param pmod cast=(GdkModifierType *) |