diff options
author | Alexander Kurtakov | 2016-12-21 10:47:44 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2016-12-21 10:47:44 +0000 |
commit | 45c359b6be3166eecf18442219353cb9e83d59a4 (patch) | |
tree | 3fc4abd0767103310c9525b099c1425df800efc0 /bundles/org.eclipse.swt/Eclipse SWT PI | |
parent | 5b9f5c7a202d6107fa37ad95e76f43786f57c88c (diff) | |
download | eclipse.platform.swt-45c359b6be3166eecf18442219353cb9e83d59a4.tar.gz eclipse.platform.swt-45c359b6be3166eecf18442219353cb9e83d59a4.tar.xz eclipse.platform.swt-45c359b6be3166eecf18442219353cb9e83d59a4.zip |
Bug 509564 - Remove not-finished theme experiment
Remove no-longer needed gtk_render_* bindings.
Change-Id: I48ec4f2d80fafcdfbec1ed9b5e8683b273342799
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI')
5 files changed, 0 insertions, 297 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 1723cc3417..6535b23ea2 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 @@ -12400,24 +12400,6 @@ fail: } #endif -#ifndef NO__1gtk_1render_1arrow -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1arrow) - (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) -{ - OS_NATIVE_ENTER(env, that, _1gtk_1render_1arrow_FUNC); -/* - gtk_render_arrow(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, arg5); -*/ - { - OS_LOAD_FUNCTION(fp, gtk_render_arrow) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, jdouble))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, arg5); - } - } - OS_NATIVE_EXIT(env, that, _1gtk_1render_1arrow_FUNC); -} -#endif - #ifndef NO__1gtk_1render_1background JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1background) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) @@ -12436,60 +12418,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1background) } #endif -#ifndef NO__1gtk_1render_1check -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1check) - (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) -{ - OS_NATIVE_ENTER(env, that, _1gtk_1render_1check_FUNC); -/* - gtk_render_check(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); -*/ - { - OS_LOAD_FUNCTION(fp, gtk_render_check) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, gdouble))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); - } - } - OS_NATIVE_EXIT(env, that, _1gtk_1render_1check_FUNC); -} -#endif - -#ifndef NO__1gtk_1render_1expander -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1expander) - (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) -{ - OS_NATIVE_ENTER(env, that, _1gtk_1render_1expander_FUNC); -/* - gtk_render_expander(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); -*/ - { - OS_LOAD_FUNCTION(fp, gtk_render_expander) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, gdouble))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); - } - } - OS_NATIVE_EXIT(env, that, _1gtk_1render_1expander_FUNC); -} -#endif - -#ifndef NO__1gtk_1render_1extension -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1extension) - (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5, jint arg6) -{ - OS_NATIVE_ENTER(env, that, _1gtk_1render_1extension_FUNC); -/* - gtk_render_extension(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5, (GtkPositionType)arg6); -*/ - { - OS_LOAD_FUNCTION(fp, gtk_render_extension) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, gdouble, GtkPositionType))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5, (GtkPositionType)arg6); - } - } - OS_NATIVE_EXIT(env, that, _1gtk_1render_1extension_FUNC); -} -#endif - #ifndef NO__1gtk_1render_1focus JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1focus) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) @@ -12526,24 +12454,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1frame) } #endif -#ifndef NO__1gtk_1render_1frame_1gap -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1frame_1gap) - (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5, jint arg6, jdouble arg7, jdouble arg8) -{ - OS_NATIVE_ENTER(env, that, _1gtk_1render_1frame_1gap_FUNC); -/* - gtk_render_frame_gap(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5, arg6, (gdouble)arg7, (gdouble)arg8); -*/ - { - OS_LOAD_FUNCTION(fp, gtk_render_frame_gap) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, gdouble, jint, gdouble, gdouble))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5, arg6, (gdouble)arg7, (gdouble)arg8); - } - } - OS_NATIVE_EXIT(env, that, _1gtk_1render_1frame_1gap_FUNC); -} -#endif - #ifndef NO__1gtk_1render_1handle JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1handle) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) @@ -12562,60 +12472,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1handle) } #endif -#ifndef NO__1gtk_1render_1layout -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1layout) - (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jintLong arg4) -{ - OS_NATIVE_ENTER(env, that, _1gtk_1render_1layout_FUNC); -/* - gtk_render_layout(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (PangoLayout *)arg4); -*/ - { - OS_LOAD_FUNCTION(fp, gtk_render_layout) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, PangoLayout *))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (PangoLayout *)arg4); - } - } - OS_NATIVE_EXIT(env, that, _1gtk_1render_1layout_FUNC); -} -#endif - -#ifndef NO__1gtk_1render_1line -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1line) - (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) -{ - OS_NATIVE_ENTER(env, that, _1gtk_1render_1line_FUNC); -/* - gtk_render_line(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); -*/ - { - OS_LOAD_FUNCTION(fp, gtk_render_line) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, gdouble))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); - } - } - OS_NATIVE_EXIT(env, that, _1gtk_1render_1line_FUNC); -} -#endif - -#ifndef NO__1gtk_1render_1option -JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1render_1option) - (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) -{ - OS_NATIVE_ENTER(env, that, _1gtk_1render_1option_FUNC); -/* - gtk_render_option(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); -*/ - { - OS_LOAD_FUNCTION(fp, gtk_render_option) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, gdouble))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); - } - } - OS_NATIVE_EXIT(env, that, _1gtk_1render_1option_FUNC); -} -#endif - #ifndef NO__1gtk_1rgb_1to_1hsv JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1rgb_1to_1hsv) (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdoubleArray arg3, jdoubleArray arg4, jdoubleArray arg5) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h index 6ae9dc2b10..3883b49cc1 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h @@ -263,18 +263,10 @@ #define gtk_paint_option_LIB LIB_GTK #define gtk_paint_layout_LIB LIB_GTK #define gtk_printer_option_widget_get_type_LIB LIB_GTK -#define gtk_render_check_LIB LIB_GTK -#define gtk_render_extension_LIB LIB_GTK -#define gtk_render_expander_LIB LIB_GTK #define gtk_render_handle_LIB LIB_GTK -#define gtk_render_arrow_LIB LIB_GTK -#define gtk_render_line_LIB LIB_GTK #define gtk_render_focus_LIB LIB_GTK #define gtk_render_frame_LIB LIB_GTK -#define gtk_render_frame_gap_LIB LIB_GTK #define gtk_render_background_LIB LIB_GTK -#define gtk_render_option_LIB LIB_GTK -#define gtk_render_layout_LIB LIB_GTK #define gtk_progress_bar_set_inverted_LIB LIB_GTK #define gtk_progress_bar_set_orientation_LIB LIB_GTK #define ubuntu_menu_proxy_get_LIB LIB_GTK 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 2988762212..2b2b207d73 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 @@ -993,18 +993,10 @@ char * OS_nativeFunctionNames[] = { "_1gtk_1rc_1style_1set_1color_1flags", "_1gtk_1rc_1style_1set_1fg", "_1gtk_1rc_1style_1set_1text", - "_1gtk_1render_1arrow", "_1gtk_1render_1background", - "_1gtk_1render_1check", - "_1gtk_1render_1expander", - "_1gtk_1render_1extension", "_1gtk_1render_1focus", "_1gtk_1render_1frame", - "_1gtk_1render_1frame_1gap", "_1gtk_1render_1handle", - "_1gtk_1render_1layout", - "_1gtk_1render_1line", - "_1gtk_1render_1option", "_1gtk_1rgb_1to_1hsv", "_1gtk_1scale_1new", "_1gtk_1scale_1set_1digits", 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 d7b854a16b..87cbfe3582 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 @@ -1003,18 +1003,10 @@ typedef enum { _1gtk_1rc_1style_1set_1color_1flags_FUNC, _1gtk_1rc_1style_1set_1fg_FUNC, _1gtk_1rc_1style_1set_1text_FUNC, - _1gtk_1render_1arrow_FUNC, _1gtk_1render_1background_FUNC, - _1gtk_1render_1check_FUNC, - _1gtk_1render_1expander_FUNC, - _1gtk_1render_1extension_FUNC, _1gtk_1render_1focus_FUNC, _1gtk_1render_1frame_FUNC, - _1gtk_1render_1frame_1gap_FUNC, _1gtk_1render_1handle_FUNC, - _1gtk_1render_1layout_FUNC, - _1gtk_1render_1line_FUNC, - _1gtk_1render_1option_FUNC, _1gtk_1rgb_1to_1hsv_FUNC, _1gtk_1scale_1new_FUNC, _1gtk_1scale_1set_1digits_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 9bbc89a7bd..08800c9e5a 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 @@ -9545,87 +9545,6 @@ public static final void gtk_render_frame(long /*int*/ context, long /*int*/ cr, } /** * @method flags=dynamic - * @param angle cast=(gdouble) - * @param x cast=(gdouble) - * @param y cast=(gdouble) - */ -public static final native void _gtk_render_arrow(long /*int*/ context, long /*int*/ cr, double angle, double x , double y, double size); -public static final void gtk_render_arrow(long /*int*/ context, long /*int*/ cr, double angle, double x , double y, double size) { - lock.lock(); - try { - _gtk_render_arrow(context, cr, angle, x, y, size); - } finally { - lock.unlock(); - } -} -/** - * @method flags=dynamic - * @param x cast=(gdouble) - * @param y cast=(gdouble) - * @param width cast=(gdouble) - * @param height cast=(gdouble) - */ -public static final native void _gtk_render_expander(long /*int*/ context, long /*int*/ cr, double x , double y, double width, double height); -public static final void gtk_render_expander(long /*int*/ context, long /*int*/ cr, double x , double y, double width, double height) { - lock.lock(); - try { - _gtk_render_expander(context, cr, x, y, width, height); - } finally { - lock.unlock(); - } -} -/** - * @method flags=dynamic - * @param x cast=(gdouble) - * @param y cast=(gdouble) - * @param width cast=(gdouble) - * @param height cast=(gdouble) - * @param xy0_gap cast=(gdouble) - * @param xy1_gap cast=(gdouble) - */ -public static final native void _gtk_render_frame_gap(long /*int*/ context, long /*int*/ cr, double x , double y, double width, double height, int gap_side, double xy0_gap, double xy1_gap); -public static final void gtk_render_frame_gap(long /*int*/ context, long /*int*/ cr, double x , double y, double width, double height, int gap_side, double xy0_gap, double xy1_gap) { - lock.lock(); - try { - _gtk_render_frame_gap(context, cr, x, y, width, height, gap_side, xy0_gap, xy1_gap); - } finally { - lock.unlock(); - } -} -/** - * @method flags=dynamic - * @param x cast=(gdouble) - * @param y cast=(gdouble) - * @param width cast=(gdouble) - * @param height cast=(gdouble) - * @param gap_side cast=(GtkPositionType) - */ -public static final native void _gtk_render_extension(long /*int*/ context, long /*int*/ cr, double x , double y, double width, double height, int gap_side); -public static final void gtk_render_extension(long /*int*/ context, long /*int*/ cr, double x , double y, double width, double height, int gap_side) { - lock.lock(); - try { - _gtk_render_extension(context, cr, x, y, width, height, gap_side); - } finally { - lock.unlock(); - } -} -/** - * @method flags=dynamic - * @param x cast=(gdouble) - * @param y cast=(gdouble) - * @param layout cast=(PangoLayout *) - */ -public static final native void _gtk_render_layout(long /*int*/ context, long /*int*/ cr, double x , double y, long /*int*/ layout); -public static final void gtk_render_layout(long /*int*/ context, long /*int*/ cr, double x , double y, long /*int*/ layout) { - lock.lock(); - try { - _gtk_render_layout(context, cr, x, y, layout); - } finally { - lock.unlock(); - } -} -/** - * @method flags=dynamic * @param x cast=(gdouble) * @param y cast=(gdouble) * @param width cast=(gdouble) @@ -9641,22 +9560,6 @@ public static final void gtk_render_background(long /*int*/ context, long /*int* } } /** - * @method flags=dynamic - * @param x cast=(gdouble) - * @param y cast=(gdouble) - * @param width cast=(gdouble) - * @param height cast=(gdouble) - */ -public static final native void _gtk_render_option(long /*int*/ context, long /*int*/ cr, double x , double y, double width, double height); -public static final void gtk_render_option(long /*int*/ context, long /*int*/ cr, double x , double y, double width, double height) { - lock.lock(); - try { - _gtk_render_option(context, cr, x , y, width, height); - } finally { - lock.unlock(); - } -} -/** * @method flags=dynamic [GTK2/GTK3; 3.0 deprecated] * @param window cast=(GdkWindow *) * @param widget cast=(GtkWidget *) @@ -9780,22 +9683,6 @@ public static final void gtk_paint_check(long /*int*/ style, long /*int*/ window } } /** - * @method flags=dynamic - * @param x cast=(gdouble) - * @param y cast=(gdouble) - * @param width cast=(gdouble) - * @param height cast=(gdouble) - */ -public static final native void _gtk_render_check(long /*int*/ context, long /*int*/ cairo, double x , double y, double width, double height); -public static final void gtk_render_check(long /*int*/ context, long /*int*/ cairo, double x , double y, double width, double height) { - lock.lock(); - try { - _gtk_render_check(context,cairo,x,y,width,height); - } finally { - lock.unlock(); - } -} -/** * @method flags=dynamic [GTK2/GTK3; 3.0 deprecated] * @param window cast=(GdkWindow *) * @param widget cast=(GtkWidget *) @@ -9902,22 +9789,6 @@ public static final void gtk_paint_vline(long /*int*/ style, long /*int*/ window } } /** - * @method flags=dynamic - * @param x0 cast=(gdouble) - * @param y0 cast=(gdouble) - * @param x1 cast=(gdouble) - * @param y1 cast=(gdouble) - */ -public static final native void _gtk_render_line(long /*int*/ context, long /*int*/ cr, double x0, double y0, double x1, double y1); -public static final void gtk_render_line(long /*int*/ context, long /*int*/ cr, double x0, double y0, double x1, double y1) { - lock.lock(); - try { - _gtk_render_line(context, cr, x0, y0, x1, y1); - } finally { - lock.unlock(); - } -} -/** * @param size cast=(GtkPaperSize *) */ public static final native void _gtk_paper_size_free(long /*int*/ size); |