diff options
author | Xi Yan | 2019-02-13 21:37:15 +0000 |
---|---|---|
committer | Xi Yan | 2019-02-14 14:56:11 +0000 |
commit | 30fb406b8c49464bb470fd03e64769bd071d38e9 (patch) | |
tree | f5d0f5fb4e5c19d2f14ae2fd77a976f56afd3e1b /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library | |
parent | d6635ffe84867f40888265395f55ddf43b6da0e3 (diff) | |
download | eclipse.platform.swt-30fb406b8c49464bb470fd03e64769bd071d38e9.tar.gz eclipse.platform.swt-30fb406b8c49464bb470fd03e64769bd071d38e9.tar.xz eclipse.platform.swt-30fb406b8c49464bb470fd03e64769bd071d38e9.zip |
Bug 544114 - [GTK4] Replace 2BUTTON and 3BUTTON events
Removing useless native gtk_gesture_multi_press_set_area binding.
Change-Id: Iab750cb8ca0e024efff3d46526d3ea2379aa5f8f
Signed-off-by: Xi Yan <xixiyan@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library')
4 files changed, 0 insertions, 17 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 36ff357503..e14febf0bf 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 @@ -6253,20 +6253,6 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1gesture_1multi_1press_1new) } #endif -#ifndef NO__1gtk_1gesture_1multi_1press_1set_1area -JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1gesture_1multi_1press_1set_1area) - (JNIEnv *env, jclass that, jintLong arg0, jobject arg1) -{ - GdkRectangle _arg1, *lparg1=NULL; - GTK_NATIVE_ENTER(env, that, _1gtk_1gesture_1multi_1press_1set_1area_FUNC); - if (arg1) if ((lparg1 = getGdkRectangleFields(env, arg1, &_arg1)) == NULL) goto fail; - gtk_gesture_multi_press_set_area(arg0, lparg1); -fail: - if (arg1 && lparg1) setGdkRectangleFields(env, arg1, lparg1); - GTK_NATIVE_EXIT(env, that, _1gtk_1gesture_1multi_1press_1set_1area_FUNC); -} -#endif - #ifndef NO__1gtk_1gesture_1pan_1get_1orientation JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1gesture_1pan_1get_1orientation) (JNIEnv *env, jclass that, jintLong arg0) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h index ca3b880219..388942cbc6 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h @@ -445,7 +445,6 @@ #define NO__1gtk_1css_1provider_1load_1from_1data__J_3BJ #define NO__1gtk_1gesture_1multi_1press_1new -#define NO__1gtk_1gesture_1multi_1press_1set_1area // GdkCursor API changes from GTK3 -> GTK4 #define NO__1gdk_1cursor_1new_1from_1name___3BI 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 015ce38cc1..074c536763 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 @@ -562,7 +562,6 @@ char * GTK_nativeFunctionNames[] = { "_1gtk_1gesture_1group", "_1gtk_1gesture_1is_1recognized", "_1gtk_1gesture_1multi_1press_1new", - "_1gtk_1gesture_1multi_1press_1set_1area", "_1gtk_1gesture_1pan_1get_1orientation", "_1gtk_1gesture_1pan_1new", "_1gtk_1gesture_1pan_1set_1orientation", 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 e372239036..78c85a71be 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 @@ -560,7 +560,6 @@ typedef enum { _1gtk_1gesture_1group_FUNC, _1gtk_1gesture_1is_1recognized_FUNC, _1gtk_1gesture_1multi_1press_1new_FUNC, - _1gtk_1gesture_1multi_1press_1set_1area_FUNC, _1gtk_1gesture_1pan_1get_1orientation_FUNC, _1gtk_1gesture_1pan_1new_FUNC, _1gtk_1gesture_1pan_1set_1orientation_FUNC, |