diff options
author | Eric Williams | 2018-10-01 20:12:49 +0000 |
---|---|---|
committer | Eric Williams | 2018-10-02 13:55:47 +0000 |
commit | 3fb68df10c71fdefec02fff1608a38a52a7ca261 (patch) | |
tree | b02fde27668e4e133628d2af079471ec291d37e1 | |
parent | c20eead8e2a8bedbacf2c2f44242056ae1f344de (diff) | |
download | eclipse.platform.swt-3fb68df10c71fdefec02fff1608a38a52a7ca261.tar.gz eclipse.platform.swt-3fb68df10c71fdefec02fff1608a38a52a7ca261.tar.xz eclipse.platform.swt-3fb68df10c71fdefec02fff1608a38a52a7ca261.zip |
Bug 539571: [GTK3] Clean up functions that don't need to be dynamic
Make functions that aren't deprecated and exist on GTK3.4 non-dynamic.
Change-Id: I770be9f52e44d2e108ac4b17107d196886b6e9f8
Signed-off-by: Eric Williams <ericwill@redhat.com>
4 files changed, 148 insertions, 539 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 bf4c79de07..be6a38bb66 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 @@ -3602,15 +3602,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1box_1new) { jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1box_1new_FUNC); -/* - rc = (jintLong)gtk_box_new((GtkOrientation)arg0, arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_box_new) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkOrientation, jint))fp)((GtkOrientation)arg0, arg1); - } - } + rc = (jintLong)gtk_box_new((GtkOrientation)arg0, (gint)arg1); GTK_NATIVE_EXIT(env, that, _1gtk_1box_1new_FUNC); return rc; } @@ -3869,15 +3861,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1cell_1renderer_1get_1preferred_1height_ GTK_NATIVE_ENTER(env, that, _1gtk_1cell_1renderer_1get_1preferred_1height_1for_1width_FUNC); if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail; if (arg4) if ((lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL)) == NULL) goto fail; -/* - gtk_cell_renderer_get_preferred_height_for_width((GtkCellRenderer *)arg0, arg1, arg2, lparg3, lparg4); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_cell_renderer_get_preferred_height_for_width) - if (fp) { - ((void (CALLING_CONVENTION*)(GtkCellRenderer *, jintLong, jint, jint *, jint *))fp)((GtkCellRenderer *)arg0, arg1, arg2, lparg3, lparg4); - } - } + gtk_cell_renderer_get_preferred_height_for_width((GtkCellRenderer *)arg0, (GtkWidget *)arg1, (gint)arg2, (gint *)lparg3, (gint *)lparg4); fail: if (arg4 && lparg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0); if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0); @@ -3894,15 +3878,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1cell_1renderer_1get_1preferred_1size) GTK_NATIVE_ENTER(env, that, _1gtk_1cell_1renderer_1get_1preferred_1size_FUNC); if (arg2) if ((lparg2 = getGtkRequisitionFields(env, arg2, &_arg2)) == NULL) goto fail; if (arg3) if ((lparg3 = getGtkRequisitionFields(env, arg3, &_arg3)) == NULL) goto fail; -/* gtk_cell_renderer_get_preferred_size((GtkCellRenderer *)arg0, (GtkWidget *)arg1, (GtkRequisition *)lparg2, (GtkRequisition *)lparg3); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_cell_renderer_get_preferred_size) - if (fp) { - ((void (CALLING_CONVENTION*)(GtkCellRenderer *, GtkWidget *, GtkRequisition *, GtkRequisition *))fp)((GtkCellRenderer *)arg0, (GtkWidget *)arg1, (GtkRequisition *)lparg2, (GtkRequisition *)lparg3); - } - } fail: if (arg3 && lparg3) setGtkRequisitionFields(env, arg3, lparg3); if (arg2 && lparg2) setGtkRequisitionFields(env, arg2, lparg2); @@ -4091,22 +4067,12 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1clipboard_1wait_1for_1contents) #endif #ifndef NO__1gtk_1color_1chooser_1add_1palette -JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1color_1chooser_1add_1palette) +JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1color_1chooser_1add_1palette) (JNIEnv *env, jclass that, jintLong arg0, jint arg1, jint arg2, jint arg3, jintLong arg4) { - jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1color_1chooser_1add_1palette_FUNC); -/* - rc = (jintLong)gtk_color_chooser_add_palette((GtkColorChooser *)arg0, (GtkOrientation)arg1, arg2, arg3, (GdkRGBA *)arg4); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_color_chooser_add_palette) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkColorChooser *, GtkOrientation, jint, jint, GdkRGBA *))fp)((GtkColorChooser *)arg0, (GtkOrientation)arg1, arg2, arg3, (GdkRGBA *)arg4); - } - } + gtk_color_chooser_add_palette((GtkColorChooser *)arg0, (GtkOrientation)arg1, (gint)arg2, arg3, (GdkRGBA *)arg4); GTK_NATIVE_EXIT(env, that, _1gtk_1color_1chooser_1add_1palette_FUNC); - return rc; } #endif @@ -4118,15 +4084,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1color_1chooser_1dialog_1new) jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1color_1chooser_1dialog_1new_FUNC); if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail; -/* rc = (jintLong)gtk_color_chooser_dialog_new((const gchar *)lparg0, (GtkWindow *)arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_color_chooser_dialog_new) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(const gchar *, GtkWindow *))fp)((const gchar *)lparg0, (GtkWindow *)arg1); - } - } fail: if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0); GTK_NATIVE_EXIT(env, that, _1gtk_1color_1chooser_1dialog_1new_FUNC); @@ -4141,15 +4099,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1color_1chooser_1get_1rgba) GdkRGBA _arg1, *lparg1=NULL; GTK_NATIVE_ENTER(env, that, _1gtk_1color_1chooser_1get_1rgba_FUNC); if (arg1) if ((lparg1 = getGdkRGBAFields(env, arg1, &_arg1)) == NULL) goto fail; -/* - gtk_color_chooser_get_rgba(arg0, lparg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_color_chooser_get_rgba) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, GdkRGBA *))fp)(arg0, lparg1); - } - } + gtk_color_chooser_get_rgba((GtkColorChooser *)arg0, (GdkRGBA *)lparg1); fail: if (arg1 && lparg1) setGdkRGBAFields(env, arg1, lparg1); GTK_NATIVE_EXIT(env, that, _1gtk_1color_1chooser_1get_1rgba_FUNC); @@ -4162,15 +4112,7 @@ JNIEXPORT jboolean JNICALL GTK_NATIVE(_1gtk_1color_1chooser_1get_1use_1alpha) { jboolean rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1color_1chooser_1get_1use_1alpha_FUNC); -/* - rc = (jboolean)gtk_color_chooser_get_use_alpha(arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_color_chooser_get_use_alpha) - if (fp) { - rc = (jboolean)((jboolean (CALLING_CONVENTION*)(jintLong))fp)(arg0); - } - } + rc = (jboolean)gtk_color_chooser_get_use_alpha((GtkColorChooser *)arg0); GTK_NATIVE_EXIT(env, that, _1gtk_1color_1chooser_1get_1use_1alpha_FUNC); return rc; } @@ -4183,15 +4125,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1color_1chooser_1set_1rgba) GdkRGBA _arg1, *lparg1=NULL; GTK_NATIVE_ENTER(env, that, _1gtk_1color_1chooser_1set_1rgba_FUNC); if (arg1) if ((lparg1 = getGdkRGBAFields(env, arg1, &_arg1)) == NULL) goto fail; -/* - gtk_color_chooser_set_rgba(arg0, lparg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_color_chooser_set_rgba) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, GdkRGBA *))fp)(arg0, lparg1); - } - } + gtk_color_chooser_set_rgba((GtkColorChooser *)arg0, (GdkRGBA *)lparg1); fail: if (arg1 && lparg1) setGdkRGBAFields(env, arg1, lparg1); GTK_NATIVE_EXIT(env, that, _1gtk_1color_1chooser_1set_1rgba_FUNC); @@ -4203,15 +4137,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1color_1chooser_1set_1use_1alpha) (JNIEnv *env, jclass that, jintLong arg0, jboolean arg1) { GTK_NATIVE_ENTER(env, that, _1gtk_1color_1chooser_1set_1use_1alpha_FUNC); -/* - gtk_color_chooser_set_use_alpha(arg0, arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_color_chooser_set_use_alpha) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jboolean))fp)(arg0, arg1); - } - } + gtk_color_chooser_set_use_alpha((GtkColorChooser *)arg0, (gboolean)arg1); GTK_NATIVE_EXIT(env, that, _1gtk_1color_1chooser_1set_1use_1alpha_FUNC); } #endif @@ -4319,15 +4245,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1combo_1box_1text_1insert) GTK_NATIVE_ENTER(env, that, _1gtk_1combo_1box_1text_1insert_FUNC); if (arg2) if ((lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL)) == NULL) goto fail; if (arg3) if ((lparg3 = (*env)->GetByteArrayElements(env, arg3, NULL)) == NULL) goto fail; -/* - gtk_combo_box_text_insert(arg0, arg1, lparg2, lparg3); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_combo_box_text_insert) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jint, jbyte *, jbyte *))fp)(arg0, arg1, lparg2, lparg3); - } - } + gtk_combo_box_text_insert((GtkComboBoxText *)arg0, (gint)arg1, (const gchar *)lparg2, (const gchar *)lparg3); fail: if (arg3 && lparg3) (*env)->ReleaseByteArrayElements(env, arg3, lparg3, 0); if (arg2 && lparg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0); @@ -4374,15 +4292,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1combo_1box_1text_1remove_1all) (JNIEnv *env, jclass that, jintLong arg0) { GTK_NATIVE_ENTER(env, that, _1gtk_1combo_1box_1text_1remove_1all_FUNC); -/* - gtk_combo_box_text_remove_all(arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_combo_box_text_remove_all) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); - } - } + gtk_combo_box_text_remove_all((GtkComboBoxText *)arg0); GTK_NATIVE_EXIT(env, that, _1gtk_1combo_1box_1text_1remove_1all_FUNC); } #endif @@ -4436,15 +4346,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1container_1propagate_1draw) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2) { GTK_NATIVE_ENTER(env, that, _1gtk_1container_1propagate_1draw_FUNC); -/* gtk_container_propagate_draw((GtkContainer *)arg0, (GtkWidget *)arg1, (cairo_t *)arg2); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_container_propagate_draw) - if (fp) { - ((void (CALLING_CONVENTION*)(GtkContainer *, GtkWidget *, cairo_t *))fp)((GtkContainer *)arg0, (GtkWidget *)arg1, (cairo_t *)arg2); - } - } GTK_NATIVE_EXIT(env, that, _1gtk_1container_1propagate_1draw_FUNC); } #endif @@ -4479,15 +4381,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1css_1provider_1get_1named) GTK_NATIVE_ENTER(env, that, _1gtk_1css_1provider_1get_1named_FUNC); if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail; if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; -/* rc = (jintLong)gtk_css_provider_get_named((const gchar *)lparg0, (const gchar *)lparg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_css_provider_get_named) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(const gchar *, const gchar *))fp)((const gchar *)lparg0, (const gchar *)lparg1); - } - } fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0); @@ -4529,15 +4423,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1css_1provider_1new) { jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1css_1provider_1new_FUNC); -/* rc = (jintLong)gtk_css_provider_new(); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_css_provider_new) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)())fp)(); - } - } GTK_NATIVE_EXIT(env, that, _1gtk_1css_1provider_1new_FUNC); return rc; } @@ -4549,15 +4435,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1css_1provider_1to_1string) { jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1css_1provider_1to_1string_FUNC); -/* - rc = (jintLong)gtk_css_provider_to_string(arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_css_provider_to_string) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); - } - } + rc = (jintLong)gtk_css_provider_to_string((GtkCssProvider *)arg0); GTK_NATIVE_EXIT(env, that, _1gtk_1css_1provider_1to_1string_FUNC); return rc; } @@ -4700,15 +4578,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1drag_1set_1icon_1surface) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { GTK_NATIVE_ENTER(env, that, _1gtk_1drag_1set_1icon_1surface_FUNC); -/* - gtk_drag_set_icon_surface(arg0, arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_drag_set_icon_surface) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); - } - } + gtk_drag_set_icon_surface((GdkDragContext *)arg0, (cairo_surface_t *)arg1); GTK_NATIVE_EXIT(env, that, _1gtk_1drag_1set_1icon_1surface_FUNC); } #endif @@ -4854,26 +4724,16 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1editable_1set_1position) #endif #ifndef NO__1gtk_1entry_1get_1icon_1area -JNIEXPORT jint JNICALL GTK_NATIVE(_1gtk_1entry_1get_1icon_1area) +JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1entry_1get_1icon_1area) (JNIEnv *env, jclass that, jintLong arg0, jint arg1, jobject arg2) { GdkRectangle _arg2, *lparg2=NULL; - jint rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1entry_1get_1icon_1area_FUNC); - if (arg2) if ((lparg2 = getGdkRectangleFields(env, arg2, &_arg2)) == NULL) goto fail; -/* - rc = (jint)gtk_entry_get_icon_area((GtkEntry *)arg0, arg1, lparg2); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_entry_get_icon_area) - if (fp) { - rc = (jint)((jint (CALLING_CONVENTION*)(GtkEntry *, jint, GdkRectangle *))fp)((GtkEntry *)arg0, arg1, lparg2); - } - } + if (arg2) if ((lparg2 = &_arg2) == NULL) goto fail; + gtk_entry_get_icon_area((GtkEntry *)arg0, (gint)arg1, (GdkRectangle *)lparg2); fail: if (arg2 && lparg2) setGdkRectangleFields(env, arg2, lparg2); GTK_NATIVE_EXIT(env, that, _1gtk_1entry_1get_1icon_1area_FUNC); - return rc; } #endif @@ -5037,15 +4897,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1entry_1set_1placeholder_1text) jbyte *lparg1=NULL; GTK_NATIVE_ENTER(env, that, _1gtk_1entry_1set_1placeholder_1text_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; -/* gtk_entry_set_placeholder_text((GtkEntry *)arg0, (const gchar *)lparg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_entry_set_placeholder_text) - if (fp) { - ((void (CALLING_CONVENTION*)(GtkEntry *, const gchar *))fp)((GtkEntry *)arg0, (const gchar *)lparg1); - } - } fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); GTK_NATIVE_EXIT(env, that, _1gtk_1entry_1set_1placeholder_1text_FUNC); @@ -5506,15 +5358,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1font_1chooser_1dialog_1new) jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1font_1chooser_1dialog_1new_FUNC); if (arg0) if ((lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL)) == NULL) goto fail; -/* rc = (jintLong)gtk_font_chooser_dialog_new((const gchar *)lparg0, (GtkWindow *)arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_font_chooser_dialog_new) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(const gchar *, GtkWindow *))fp)((const gchar *)lparg0, (GtkWindow *)arg1); - } - } fail: if (arg0 && lparg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0); GTK_NATIVE_EXIT(env, that, _1gtk_1font_1chooser_1dialog_1new_FUNC); @@ -5528,15 +5372,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1font_1chooser_1get_1font) { jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1font_1chooser_1get_1font_FUNC); -/* - rc = (jintLong)gtk_font_chooser_get_font(arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_font_chooser_get_font) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(jintLong))fp)(arg0); - } - } + rc = (jintLong)gtk_font_chooser_get_font((GtkFontChooser *)arg0); GTK_NATIVE_EXIT(env, that, _1gtk_1font_1chooser_1get_1font_FUNC); return rc; } @@ -5549,15 +5385,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1font_1chooser_1set_1font) jbyte *lparg1=NULL; GTK_NATIVE_ENTER(env, that, _1gtk_1font_1chooser_1set_1font_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; -/* - gtk_font_chooser_set_font(arg0, (const gchar *)lparg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_font_chooser_set_font) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, const gchar *))fp)(arg0, (const gchar *)lparg1); - } - } + gtk_font_chooser_set_font((GtkFontChooser *)arg0, (const gchar *)lparg1); fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); GTK_NATIVE_EXIT(env, that, _1gtk_1font_1chooser_1set_1font_FUNC); @@ -7967,37 +7795,11 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1progress_1bar_1set_1inverted) (JNIEnv *env, jclass that, jintLong arg0, jboolean arg1) { GTK_NATIVE_ENTER(env, that, _1gtk_1progress_1bar_1set_1inverted_FUNC); -/* gtk_progress_bar_set_inverted((GtkProgressBar *)arg0, (gboolean)arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_progress_bar_set_inverted) - if (fp) { - ((void (CALLING_CONVENTION*)(GtkProgressBar *, gboolean))fp)((GtkProgressBar *)arg0, (gboolean)arg1); - } - } GTK_NATIVE_EXIT(env, that, _1gtk_1progress_1bar_1set_1inverted_FUNC); } #endif -#ifndef NO__1gtk_1progress_1bar_1set_1orientation -JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1progress_1bar_1set_1orientation) - (JNIEnv *env, jclass that, jintLong arg0, jint arg1) -{ - GTK_NATIVE_ENTER(env, that, _1gtk_1progress_1bar_1set_1orientation_FUNC); -/* - gtk_progress_bar_set_orientation((GtkProgressBar *)arg0, arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_progress_bar_set_orientation) - if (fp) { - ((void (CALLING_CONVENTION*)(GtkProgressBar *, jint))fp)((GtkProgressBar *)arg0, arg1); - } - } - GTK_NATIVE_EXIT(env, that, _1gtk_1progress_1bar_1set_1orientation_FUNC); -} -#endif - #ifndef NO__1gtk_1radio_1button_1get_1group JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1radio_1button_1get_1group) (JNIEnv *env, jclass that, jintLong arg0) @@ -8120,15 +7922,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1render_1background) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) { GTK_NATIVE_ENTER(env, that, _1gtk_1render_1background_FUNC); -/* - gtk_render_background(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_render_background) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, gdouble))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); - } - } + gtk_render_background((GtkStyleContext *)arg0, (cairo_t *)arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); GTK_NATIVE_EXIT(env, that, _1gtk_1render_1background_FUNC); } #endif @@ -8138,15 +7932,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1render_1focus) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) { GTK_NATIVE_ENTER(env, that, _1gtk_1render_1focus_FUNC); -/* - gtk_render_focus(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_render_focus) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, gdouble))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); - } - } + gtk_render_focus((GtkStyleContext *)arg0, (cairo_t *)arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); GTK_NATIVE_EXIT(env, that, _1gtk_1render_1focus_FUNC); } #endif @@ -8156,15 +7942,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1render_1frame) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) { GTK_NATIVE_ENTER(env, that, _1gtk_1render_1frame_FUNC); -/* - gtk_render_frame(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_render_frame) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, gdouble))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); - } - } + gtk_render_frame((GtkStyleContext *)arg0, (cairo_t *)arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); GTK_NATIVE_EXIT(env, that, _1gtk_1render_1frame_FUNC); } #endif @@ -8174,15 +7952,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1render_1handle) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5) { GTK_NATIVE_ENTER(env, that, _1gtk_1render_1handle_FUNC); -/* - gtk_render_handle(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_render_handle) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, gdouble, gdouble, gdouble, gdouble))fp)(arg0, arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); - } - } + gtk_render_handle((GtkStyleContext *)arg0, (cairo_t *)arg1, (gdouble)arg2, (gdouble)arg3, (gdouble)arg4, (gdouble)arg5); GTK_NATIVE_EXIT(env, that, _1gtk_1render_1handle_FUNC); } #endif @@ -8213,15 +7983,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1scale_1new) { jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1scale_1new_FUNC); -/* rc = (jintLong)gtk_scale_new((GtkOrientation)arg0, (GtkAdjustment *)arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_scale_new) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkOrientation, GtkAdjustment *))fp)((GtkOrientation)arg0, (GtkAdjustment *)arg1); - } - } GTK_NATIVE_EXIT(env, that, _1gtk_1scale_1new_FUNC); return rc; } @@ -8253,15 +8015,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1scrollable_1get_1vadjustment) { jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1scrollable_1get_1vadjustment_FUNC); -/* rc = (jintLong)gtk_scrollable_get_vadjustment((GtkScrollable *)arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_scrollable_get_vadjustment) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkScrollable *))fp)((GtkScrollable *)arg0); - } - } GTK_NATIVE_EXIT(env, that, _1gtk_1scrollable_1get_1vadjustment_FUNC); return rc; } @@ -8273,15 +8027,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1scrollbar_1new) { jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1scrollbar_1new_FUNC); -/* rc = (jintLong)gtk_scrollbar_new((GtkOrientation)arg0, (GtkAdjustment *)arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_scrollbar_new) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkOrientation, GtkAdjustment *))fp)((GtkOrientation)arg0, (GtkAdjustment *)arg1); - } - } GTK_NATIVE_EXIT(env, that, _1gtk_1scrollbar_1new_FUNC); return rc; } @@ -8532,15 +8278,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1separator_1new) { jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1separator_1new_FUNC); -/* rc = (jintLong)gtk_separator_new((GtkOrientation)arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_separator_new) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkOrientation))fp)((GtkOrientation)arg0); - } - } GTK_NATIVE_EXIT(env, that, _1gtk_1separator_1new_FUNC); return rc; } @@ -8813,15 +8551,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1style_1context_1add_1class) jbyte *lparg1=NULL; GTK_NATIVE_ENTER(env, that, _1gtk_1style_1context_1add_1class_FUNC); if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; -/* - gtk_style_context_add_class(arg0, lparg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_style_context_add_class) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jbyte *))fp)(arg0, lparg1); - } - } + gtk_style_context_add_class((GtkStyleContext *)arg0, (const gchar *)lparg1); fail: if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); GTK_NATIVE_EXIT(env, that, _1gtk_1style_1context_1add_1class_FUNC); @@ -8833,15 +8563,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1style_1context_1add_1provider) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2) { GTK_NATIVE_ENTER(env, that, _1gtk_1style_1context_1add_1provider_FUNC); -/* - gtk_style_context_add_provider(arg0, arg1, (guint)arg2); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_style_context_add_provider) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong, guint))fp)(arg0, arg1, (guint)arg2); - } - } + gtk_style_context_add_provider((GtkStyleContext *)arg0, (GtkStyleProvider *)arg1, (guint)arg2); GTK_NATIVE_EXIT(env, that, _1gtk_1style_1context_1add_1provider_FUNC); } #endif @@ -8851,15 +8573,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1style_1context_1add_1provider_1for_1scr (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2) { GTK_NATIVE_ENTER(env, that, _1gtk_1style_1context_1add_1provider_1for_1screen_FUNC); -/* - gtk_style_context_add_provider_for_screen((GdkScreen *)arg0, arg1, (guint)arg2); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_style_context_add_provider_for_screen) - if (fp) { - ((void (CALLING_CONVENTION*)(GdkScreen *, jintLong, guint))fp)((GdkScreen *)arg0, arg1, (guint)arg2); - } - } + gtk_style_context_add_provider_for_screen((GdkScreen *)arg0, (GtkStyleProvider *)arg1, (guint)arg2); GTK_NATIVE_EXIT(env, that, _1gtk_1style_1context_1add_1provider_1for_1screen_FUNC); } #endif @@ -8917,16 +8631,8 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1style_1context_1get_1border) { GtkBorder _arg2, *lparg2=NULL; GTK_NATIVE_ENTER(env, that, _1gtk_1style_1context_1get_1border_FUNC); - if (arg2) if ((lparg2 = getGtkBorderFields(env, arg2, &_arg2)) == NULL) goto fail; -/* - gtk_style_context_get_border(arg0, arg1, lparg2); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_style_context_get_border) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jint, GtkBorder *))fp)(arg0, arg1, lparg2); - } - } + if (arg2) if ((lparg2 = &_arg2) == NULL) goto fail; + gtk_style_context_get_border((GtkStyleContext *)arg0, (GtkStateFlags)arg1, (GtkBorder *)lparg2); fail: if (arg2 && lparg2) setGtkBorderFields(env, arg2, lparg2); GTK_NATIVE_EXIT(env, that, _1gtk_1style_1context_1get_1border_FUNC); @@ -8940,15 +8646,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1style_1context_1get_1color) GdkRGBA _arg2, *lparg2=NULL; GTK_NATIVE_ENTER(env, that, _1gtk_1style_1context_1get_1color_FUNC); if (arg2) if ((lparg2 = getGdkRGBAFields(env, arg2, &_arg2)) == NULL) goto fail; -/* - gtk_style_context_get_color(arg0, arg1, lparg2); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_style_context_get_color) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jint, GdkRGBA *))fp)(arg0, arg1, lparg2); - } - } + gtk_style_context_get_color((GtkStyleContext *)arg0, (GtkStateFlags)arg1, (GdkRGBA *)lparg2); fail: if (arg2 && lparg2) setGdkRGBAFields(env, arg2, lparg2); GTK_NATIVE_EXIT(env, that, _1gtk_1style_1context_1get_1color_FUNC); @@ -8981,16 +8679,8 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1style_1context_1get_1padding) { GtkBorder _arg2, *lparg2=NULL; GTK_NATIVE_ENTER(env, that, _1gtk_1style_1context_1get_1padding_FUNC); - if (arg2) if ((lparg2 = getGtkBorderFields(env, arg2, &_arg2)) == NULL) goto fail; -/* - gtk_style_context_get_padding(arg0, arg1, lparg2); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_style_context_get_padding) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jint, GtkBorder *))fp)(arg0, arg1, lparg2); - } - } + if (arg2) if ((lparg2 = &_arg2) == NULL) goto fail; + gtk_style_context_get_padding((GtkStyleContext *)arg0, (GtkStateFlags)arg1, (GtkBorder *)lparg2); fail: if (arg2 && lparg2) setGtkBorderFields(env, arg2, lparg2); GTK_NATIVE_EXIT(env, that, _1gtk_1style_1context_1get_1padding_FUNC); @@ -9020,15 +8710,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1style_1context_1restore) (JNIEnv *env, jclass that, jintLong arg0) { GTK_NATIVE_ENTER(env, that, _1gtk_1style_1context_1restore_FUNC); -/* - gtk_style_context_restore(arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_style_context_restore) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); - } - } + gtk_style_context_restore((GtkStyleContext *)arg0); GTK_NATIVE_EXIT(env, that, _1gtk_1style_1context_1restore_FUNC); } #endif @@ -9038,15 +8720,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1style_1context_1save) (JNIEnv *env, jclass that, jintLong arg0) { GTK_NATIVE_ENTER(env, that, _1gtk_1style_1context_1save_FUNC); -/* - gtk_style_context_save(arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_style_context_save) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong))fp)(arg0); - } - } + gtk_style_context_save((GtkStyleContext *)arg0); GTK_NATIVE_EXIT(env, that, _1gtk_1style_1context_1save_FUNC); } #endif @@ -9056,15 +8730,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1style_1context_1set_1state) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { GTK_NATIVE_ENTER(env, that, _1gtk_1style_1context_1set_1state_FUNC); -/* - gtk_style_context_set_state(arg0, arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_style_context_set_state) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); - } - } + gtk_style_context_set_state((GtkStyleContext *)arg0, (GtkStateFlags)arg1); GTK_NATIVE_EXIT(env, that, _1gtk_1style_1context_1set_1state_FUNC); } #endif @@ -10635,15 +10301,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1tree_1view_1column_1get_1button) { jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1tree_1view_1column_1get_1button_FUNC); -/* rc = (jintLong)gtk_tree_view_column_get_button((GtkTreeViewColumn *)arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_tree_view_column_get_button) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkTreeViewColumn *))fp)((GtkTreeViewColumn *)arg0); - } - } GTK_NATIVE_EXIT(env, that, _1gtk_1tree_1view_1column_1get_1button_FUNC); return rc; } @@ -11549,15 +11207,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1widget_1get_1preferred_1height) GTK_NATIVE_ENTER(env, that, _1gtk_1widget_1get_1preferred_1height_FUNC); if (arg1) if ((lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL)) == NULL) goto fail; if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail; -/* - gtk_widget_get_preferred_height(arg0, lparg1, lparg2); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_widget_get_preferred_height) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jint *, jint *))fp)(arg0, lparg1, lparg2); - } - } + gtk_widget_get_preferred_height((GtkWidget *)arg0, (gint *)lparg1, (gint *)lparg2); fail: if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0); if (arg1 && lparg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0); @@ -11574,15 +11224,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1widget_1get_1preferred_1height_1for_1wi GTK_NATIVE_ENTER(env, that, _1gtk_1widget_1get_1preferred_1height_1for_1width_FUNC); if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail; if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail; -/* - gtk_widget_get_preferred_height_for_width(arg0, arg1, lparg2, lparg3); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_widget_get_preferred_height_for_width) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jint, jint *, jint *))fp)(arg0, arg1, lparg2, lparg3); - } - } + gtk_widget_get_preferred_height_for_width((GtkWidget *)arg0, (gint)arg1, (gint *)lparg2, (gint *)lparg3); fail: if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0); if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0); @@ -11599,15 +11241,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1widget_1get_1preferred_1size) GTK_NATIVE_ENTER(env, that, _1gtk_1widget_1get_1preferred_1size_FUNC); if (arg1) if ((lparg1 = getGtkRequisitionFields(env, arg1, &_arg1)) == NULL) goto fail; if (arg2) if ((lparg2 = getGtkRequisitionFields(env, arg2, &_arg2)) == NULL) goto fail; -/* gtk_widget_get_preferred_size((GtkWidget *)arg0, (GtkRequisition *)lparg1, (GtkRequisition *)lparg2); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_widget_get_preferred_size) - if (fp) { - ((void (CALLING_CONVENTION*)(GtkWidget *, GtkRequisition *, GtkRequisition *))fp)((GtkWidget *)arg0, (GtkRequisition *)lparg1, (GtkRequisition *)lparg2); - } - } fail: if (arg2 && lparg2) setGtkRequisitionFields(env, arg2, lparg2); if (arg1 && lparg1) setGtkRequisitionFields(env, arg1, lparg1); @@ -11624,15 +11258,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1widget_1get_1preferred_1width_1for_1hei GTK_NATIVE_ENTER(env, that, _1gtk_1widget_1get_1preferred_1width_1for_1height_FUNC); if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail; if (arg3) if ((lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL)) == NULL) goto fail; -/* - gtk_widget_get_preferred_width_for_height(arg0, arg1, lparg2, lparg3); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_widget_get_preferred_width_for_height) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jint, jint *, jint *))fp)(arg0, arg1, lparg2, lparg3); - } - } + gtk_widget_get_preferred_width_for_height((GtkWidget *)arg0, (gint)arg1, (gint *)lparg2, (gint *)lparg3); fail: if (arg3 && lparg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0); if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0); @@ -11699,15 +11325,7 @@ JNIEXPORT jint JNICALL GTK_NATIVE(_1gtk_1widget_1get_1state_1flags) { jint rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1widget_1get_1state_1flags_FUNC); -/* rc = (jint)gtk_widget_get_state_flags((GtkWidget *)arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_widget_get_state_flags) - if (fp) { - rc = (jint)((jint (CALLING_CONVENTION*)(GtkWidget *))fp)((GtkWidget *)arg0); - } - } GTK_NATIVE_EXIT(env, that, _1gtk_1widget_1get_1state_1flags_FUNC); return rc; } @@ -11719,15 +11337,7 @@ JNIEXPORT jintLong JNICALL GTK_NATIVE(_1gtk_1widget_1get_1style_1context) { jintLong rc = 0; GTK_NATIVE_ENTER(env, that, _1gtk_1widget_1get_1style_1context_FUNC); -/* rc = (jintLong)gtk_widget_get_style_context((GtkWidget *)arg0); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_widget_get_style_context) - if (fp) { - rc = (jintLong)((jintLong (CALLING_CONVENTION*)(GtkWidget *))fp)((GtkWidget *)arg0); - } - } GTK_NATIVE_EXIT(env, that, _1gtk_1widget_1get_1style_1context_FUNC); return rc; } @@ -11830,15 +11440,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1widget_1input_1shape_1combine_1region) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { GTK_NATIVE_ENTER(env, that, _1gtk_1widget_1input_1shape_1combine_1region_FUNC); -/* - gtk_widget_input_shape_combine_region((GtkWidget *)arg0, arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_widget_input_shape_combine_region) - if (fp) { - ((void (CALLING_CONVENTION*)(GtkWidget *, jintLong))fp)((GtkWidget *)arg0, arg1); - } - } + gtk_widget_input_shape_combine_region((GtkWidget *)arg0, (cairo_region_t *)arg1); GTK_NATIVE_EXIT(env, that, _1gtk_1widget_1input_1shape_1combine_1region_FUNC); } #endif @@ -12115,15 +11717,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1widget_1set_1halign) (JNIEnv *env, jclass that, jintLong arg0, jint arg1) { GTK_NATIVE_ENTER(env, that, _1gtk_1widget_1set_1halign_FUNC); -/* - gtk_widget_set_halign((GtkWidget *)arg0, arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_widget_set_halign) - if (fp) { - ((void (CALLING_CONVENTION*)(GtkWidget *, jint))fp)((GtkWidget *)arg0, arg1); - } - } + gtk_widget_set_halign((GtkWidget *)arg0, (GtkAlign)arg1); GTK_NATIVE_EXIT(env, that, _1gtk_1widget_1set_1halign_FUNC); } #endif @@ -12249,15 +11843,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1widget_1set_1valign) (JNIEnv *env, jclass that, jintLong arg0, jint arg1) { GTK_NATIVE_ENTER(env, that, _1gtk_1widget_1set_1valign_FUNC); -/* - gtk_widget_set_valign((GtkWidget *)arg0, arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_widget_set_valign) - if (fp) { - ((void (CALLING_CONVENTION*)(GtkWidget *, jint))fp)((GtkWidget *)arg0, arg1); - } - } + gtk_widget_set_valign((GtkWidget *)arg0, (GtkAlign)arg1); GTK_NATIVE_EXIT(env, that, _1gtk_1widget_1set_1valign_FUNC); } #endif @@ -12277,15 +11863,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1widget_1shape_1combine_1region) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { GTK_NATIVE_ENTER(env, that, _1gtk_1widget_1shape_1combine_1region_FUNC); -/* - gtk_widget_shape_combine_region(arg0, arg1); -*/ - { - GTK_LOAD_FUNCTION(fp, gtk_widget_shape_combine_region) - if (fp) { - ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); - } - } + gtk_widget_shape_combine_region((GtkWidget *)arg0, (cairo_region_t *)arg1); GTK_NATIVE_EXIT(env, that, _1gtk_1widget_1shape_1combine_1region_FUNC); } #endif 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 59af4067d7..ffa433ea33 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 @@ -646,7 +646,6 @@ char * GTK_nativeFunctionNames[] = { "_1gtk_1progress_1bar_1pulse", "_1gtk_1progress_1bar_1set_1fraction", "_1gtk_1progress_1bar_1set_1inverted", - "_1gtk_1progress_1bar_1set_1orientation", "_1gtk_1radio_1button_1get_1group", "_1gtk_1radio_1button_1new", "_1gtk_1radio_1menu_1item_1get_1group", 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 1d6f1b6361..634254acf9 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 @@ -644,7 +644,6 @@ typedef enum { _1gtk_1progress_1bar_1pulse_FUNC, _1gtk_1progress_1bar_1set_1fraction_FUNC, _1gtk_1progress_1bar_1set_1inverted_FUNC, - _1gtk_1progress_1bar_1set_1orientation_FUNC, _1gtk_1radio_1button_1get_1group_FUNC, _1gtk_1radio_1button_1new_FUNC, _1gtk_1radio_1menu_1item_1get_1group_FUNC, diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java index 8918dbddf5..394d94f044 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java @@ -945,7 +945,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param cell cast=(GtkCellRenderer *) * @param widget cast=(GtkWidget *) * @param minimum_size cast=(GtkRequisition *) @@ -975,8 +974,11 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param cell cast=(GtkCellRenderer *) + * @param widget cast=(GtkWidget *) + * @param width cast=(gint) + * @param minimum_height cast=(gint *) + * @param natural_height cast=(gint *) */ public static final native void _gtk_cell_renderer_get_preferred_height_for_width(long /*int*/ cell, long /*int*/ widget, int width, int[] minimum_height, int[] natural_height); public static final void gtk_cell_renderer_get_preferred_height_for_width(long /*int*/ cell, long /*int*/ widget, int width, int[] minimum_height, int[] natural_height) { @@ -1016,7 +1018,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param widget cast=(GtkWidget *) * @param minimum_size cast=(GtkRequisition *) * @param natural_size cast=(GtkRequisition *) @@ -1031,7 +1032,10 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param widget cast=(GtkWidget *) + * @param width cast=(gint) + * @param minimum_size cast=(gint *) + * @param natural_size cast=(gint *) */ public static final native void _gtk_widget_get_preferred_height_for_width(long /*int*/ widget, int width, int[] minimum_size, int[] natural_size); public static final void gtk_widget_get_preferred_height_for_width(long /*int*/ widget, int width, int[] minimum_size, int[] natural_size) { @@ -1043,7 +1047,9 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param widget cast=(GtkWidget *) + * @param minimum_size cast=(gint *) + * @param natural_size cast=(gint *) */ public static final native void _gtk_widget_get_preferred_height(long /*int*/ widget, int[] minimum_size, int[] natural_size); public static final void gtk_widget_get_preferred_height(long /*int*/ widget, int[] minimum_size, int[] natural_size) { @@ -1055,7 +1061,10 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param widget cast=(GtkWidget *) + * @param height cast=(gint) + * @param minimum_size cast=(gint *) + * @param natural_size cast=(gint *) */ public static final native void _gtk_widget_get_preferred_width_for_height(long /*int*/ widget, int height, int[] minimum_size, int[] natural_size); public static final void gtk_widget_get_preferred_width_for_height(long /*int*/ widget, int height, int[] minimum_size, int[] natural_size) { @@ -1233,22 +1242,22 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param chooser cast=(GtkColorChooser *) * @param orientation cast=(GtkOrientation) + * @param colors_per_line cast=(gint) + * @param n_colors cast(gint) * @param colors cast=(GdkRGBA *) */ - public static final native long /*int*/ _gtk_color_chooser_add_palette(long /*int*/ chooser, int orientation, int colors_per_line, int n_colors, long /*int*/ colors); - public static final long /*int*/ gtk_color_chooser_add_palette(long /*int*/ chooser, int orientation, int colors_per_line, int n_colors, long /*int*/ colors) { + public static final native void _gtk_color_chooser_add_palette(long /*int*/ chooser, int orientation, int colors_per_line, int n_colors, long /*int*/ colors); + public static final void gtk_color_chooser_add_palette(long /*int*/ chooser, int orientation, int colors_per_line, int n_colors, long /*int*/ colors) { lock.lock(); try { - return _gtk_color_chooser_add_palette(chooser, orientation, colors_per_line, n_colors, colors); + _gtk_color_chooser_add_palette(chooser, orientation, colors_per_line, n_colors, colors); } finally { lock.unlock(); } } /** - * @method flags=dynamic * @param title cast=(const gchar *) * @param parent cast=(GtkWindow *) */ @@ -1262,7 +1271,8 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param chooser cast=(GtkColorChooser *) + * @param use_alpha cast=(gboolean) */ public static final native void _gtk_color_chooser_set_use_alpha (long /*int*/ chooser, boolean use_alpha); public static final void gtk_color_chooser_set_use_alpha (long /*int*/ chooser, boolean use_alpha) { @@ -1274,7 +1284,7 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param chooser cast=(GtkColorChooser *) */ public static final native boolean _gtk_color_chooser_get_use_alpha (long /*int*/ chooser); public static final boolean gtk_color_chooser_get_use_alpha (long /*int*/ chooser) { @@ -1286,7 +1296,8 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param chooser cast=(GtkColorChooser *) + * @param color cast=(GdkRGBA *) */ public static final native void _gtk_color_chooser_set_rgba(long /*int*/ chooser, GdkRGBA color); public static final void gtk_color_chooser_get_rgba(long /*int*/ chooser, GdkRGBA color) { @@ -1298,7 +1309,8 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param chooser cast=(GtkColorChooser *) + * @param color cast=(GdkRGBA *) */ public static final native void _gtk_color_chooser_get_rgba(long /*int*/ chooser, GdkRGBA color); public static final void gtk_color_chooser_set_rgba(long /*int*/ chooser, GdkRGBA color) { @@ -1342,7 +1354,12 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param combo_box cast=(GtkComboBoxText *) + * @param position cast=(gint) + * @param id cast=(const gchar *) + * @param text cast=(const gchar *) + */ public static final native void _gtk_combo_box_text_insert(long /*int*/ combo_box, int position, byte[] id, byte[] text); /** Do not call directly, instead use Combo.gtk_combo_box_insert(..) */ public static final void gtk_combo_box_text_insert(long /*int*/ combo_box, int position, byte[] id, byte[] text) { @@ -1363,7 +1380,9 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param combo_box cast=(GtkComboBoxText *) + */ public static final native void _gtk_combo_box_text_remove_all(long /*int*/ combo_box); /** Do not call directly. Call Combo.gtk_combo_box_text_remove_all(..) instead). */ public static final void gtk_combo_box_text_remove_all(long /*int*/ combo_box) { @@ -1496,7 +1515,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param container cast=(GtkContainer *) * @param child cast=(GtkWidget *) * @param cairo cast=(cairo_t *) @@ -1703,7 +1721,10 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param context cast=(GdkDragContext *) + * @param surface cast=(cairo_surface_t *) + */ public static final native void _gtk_drag_set_icon_surface(long /*int*/ context, long /*int*/ surface); public static final void gtk_drag_set_icon_surface(long /*int*/ context, long /*int*/ surface) { lock.lock(); @@ -1917,14 +1938,15 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param entry cast=(GtkEntry *) + * @param icon_pos cast=(gint) + * @param icon_area cast=(GdkRectangle *),flags=no_in */ - public static final native int _gtk_entry_get_icon_area(long /*int*/ entry, int icon_pos, GdkRectangle icon_area); - public static final int gtk_entry_get_icon_area(long /*int*/ entry, int icon_pos, GdkRectangle icon_area) { + public static final native void _gtk_entry_get_icon_area(long /*int*/ entry, int icon_pos, GdkRectangle icon_area); + public static final void gtk_entry_get_icon_area(long /*int*/ entry, int icon_pos, GdkRectangle icon_area) { lock.lock(); try { - return _gtk_entry_get_icon_area(entry, icon_pos, icon_area); + _gtk_entry_get_icon_area(entry, icon_pos, icon_area); } finally { lock.unlock(); } @@ -2062,7 +2084,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param entry cast=(GtkEntry *) * @param text cast=(const gchar *) */ @@ -2728,10 +2749,9 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param widget cast=(GtkWidget *) - * - */ //Omited enum: @param gtk_align cast=(GtkAlign) as is causes build errors on gtk2 as GtkAlign doesn't exist there. + * @param gtk_align cast=(GtkAlign) + */ public static final native void _gtk_widget_set_halign(long /*int*/ widget, int gtk_align); public static final void gtk_widget_set_halign(long /*int*/ widget, int gtk_align) { lock.lock(); @@ -2742,9 +2762,9 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param widget cast=(GtkWidget *) - */ //Omited enum: @param gtk_align cast=(GtkAlign) as is causes build errors on gtk2 as GtkAlign doesn't exist there. + * @param gtk_align cast=(GtkAlign) + */ public static final native void _gtk_widget_set_valign(long /*int*/ widget, int gtk_align); public static final void gtk_widget_set_valign(long /*int*/ widget, int gtk_align ) { lock.lock(); @@ -2755,7 +2775,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param title cast=(const gchar *) * @param parent cast=(GtkWindow *) */ @@ -2768,7 +2787,9 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param fontchooser cast=(GtkFontChooser *) + */ public static final native long /*int*/ _gtk_font_chooser_get_font(long /*int*/ fontchooser); public static final long /*int*/ gtk_font_chooser_get_font(long /*int*/ fontchooser) { lock.lock(); @@ -2779,7 +2800,7 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param fsd cast=(GtkFontChooser *) * @param fontname cast=(const gchar *) */ public static final native void _gtk_font_chooser_set_font(long /*int*/ fsd, byte[] fontname); @@ -2939,8 +2960,8 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param orientation cast=(GtkOrientation) + * @param spacing cast=(gint) */ public static final native long /*int*/ _gtk_box_new(int orientation, int spacing); public static final long /*int*/ gtk_box_new(int orientation, int spacing) { @@ -3006,7 +3027,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param orientation cast=(GtkOrientation) * @param adjustment cast=(GtkAdjustment *) */ @@ -3020,7 +3040,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param orientation cast=(GtkOrientation) * @param adjustment cast=(GtkAdjustment *) * */ @@ -3034,7 +3053,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param orientation cast=(GtkOrientation) */ public static final native long /*int*/ _gtk_separator_new(int orientation); @@ -3535,7 +3553,6 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ public static final native long /*int*/ _gtk_css_provider_new(); public static final long /*int*/gtk_css_provider_new() { lock.lock(); @@ -3545,7 +3562,9 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param provider cast=(GtkCssProvider *) + */ public static final native long /*int*/ _gtk_css_provider_to_string(long /*int*/ provider); public static final long /*int*/ gtk_css_provider_to_string(long /*int*/ provider) { lock.lock(); @@ -3555,7 +3574,7 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic + /** * @param name cast=(const gchar *) * @param variant cast=(const gchar *) */ @@ -3569,8 +3588,8 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param screen cast=(GdkScreen *) + * @param provider cast=(GtkStyleProvider *) * @param priority cast=(guint) */ public static final native void _gtk_style_context_add_provider_for_screen (long /*int*/ screen, long /*int*/ provider, int priority); @@ -3583,9 +3602,10 @@ public class GTK extends OS { } } /** - * @method flags=dynamic - * @param priority cast=(guint) - */ + * @param context cast=(GtkStyleContext *) + * @param provider cast=(GtkStyleProvider *) + * @param priority cast=(guint) + */ public static final native void _gtk_style_context_add_provider (long /*int*/ context, long /*int*/ provider, int priority); public static final void gtk_style_context_add_provider( long /*int*/context, long /*int*/provider, int priority) { @@ -4274,7 +4294,8 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param context cast=(GtkStyleContext *) + * @param cr cast=(cairo_t *) * @param x cast=(gdouble) * @param y cast=(gdouble) * @param width cast=(gdouble) @@ -4290,7 +4311,8 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param context cast=(GtkStyleContext *) + * @param cr cast=(cairo_t *) * @param x cast=(gdouble) * @param y cast=(gdouble) * @param width cast=(gdouble) @@ -4306,7 +4328,8 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param context cast=(GtkStyleContext *) + * @param cr cast=(cairo_t *) * @param x cast=(gdouble) * @param y cast=(gdouble) * @param width cast=(gdouble) @@ -4927,7 +4950,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param pbar cast=(GtkProgressBar *) * @param inverted cast=(gboolean) */ @@ -4940,19 +4962,6 @@ public class GTK extends OS { lock.unlock(); } } - /** - * @method flags=dynamic - * @param pbar cast=(GtkProgressBar *) - */ - public static final native void _gtk_progress_bar_set_orientation(long /*int*/ pbar, int orientation); - public static final void gtk_progress_bar_set_orientation(long /*int*/ pbar, int orientation) { - lock.lock(); - try { - _gtk_progress_bar_set_orientation(pbar, orientation); - } finally { - lock.unlock(); - } - } /** @param radio_button cast=(GtkRadioButton *) */ public static final native long /*int*/ _gtk_radio_button_get_group(long /*int*/ radio_button); public static final long /*int*/ gtk_radio_button_get_group(long /*int*/ radio_button) { @@ -5084,7 +5093,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param scrollable cast=(GtkScrollable *) */ public static final native long /*int*/ _gtk_scrollable_get_vadjustment(long /*int*/ scrollable); @@ -5566,7 +5574,10 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param context cast=(GtkStyleContext *) + * @param class_name cast=(const gchar *) + */ public static final native void _gtk_style_context_add_class(long /*int*/ context, byte[] class_name); public static final void gtk_style_context_add_class(long /*int*/ context, byte[] class_name) { lock.lock(); @@ -5587,7 +5598,11 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param context cast=(GtkStyleContext *) + * @param state cast=(GtkStateFlags) + * @param color cast=(GdkRGBA *) + */ public static final native void _gtk_style_context_get_color(long /*int*/ context, int state, GdkRGBA color); public static final void gtk_style_context_get_color(long /*int*/ context, int state, GdkRGBA color) { lock.lock(); @@ -5608,7 +5623,11 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param context cast=(GtkStyleContext *) + * @param state cast=(GtkStateFlags) + * @param padding cast=(GtkBorder *),flags=no_in + */ public static final native void _gtk_style_context_get_padding(long /*int*/ context, int state, GtkBorder padding); public static final void gtk_style_context_get_padding(long /*int*/ context, int state, GtkBorder padding) { lock.lock(); @@ -5632,7 +5651,12 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * + * @param context cast=(GtkStyleContext *) + * @param state cast=(GtkStateFlags) + * @param padding cast=(GtkBorder *),flags=no_in + */ public static final native void _gtk_style_context_get_border(long /*int*/ context, int state, GtkBorder padding); public static final void gtk_style_context_get_border(long /*int*/ context, int state, GtkBorder padding) { lock.lock(); @@ -5653,7 +5677,9 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param self cast=(GtkStyleContext *) + */ public static final native void _gtk_style_context_save(long /*int*/ self); public static final void gtk_style_context_save(long /*int*/ self) { lock.lock(); @@ -5663,7 +5689,9 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param context cast=(GtkStyleContext *) + */ public static final native void _gtk_style_context_restore(long /*int*/ context); public static final void gtk_style_context_restore(long /*int*/ context) { lock.lock(); @@ -5673,9 +5701,9 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic - * @param self cast=(GtkWidget *) - * */ + /** + * @param self cast=(GtkWidget *) + */ public static final native int _gtk_widget_get_state_flags(long /*int*/ self); public static final int gtk_widget_get_state_flags(long /*int*/ self) { lock.lock(); @@ -5685,7 +5713,10 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param context cast=(GtkStyleContext *) + * @param flags cast=(GtkStateFlags) + */ public static final native void _gtk_style_context_set_state(long /*int*/ context, long /*int*/ flags); public static final void gtk_style_context_set_state(long /*int*/ context, long /*int*/ flags) { lock.lock(); @@ -7139,7 +7170,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param column cast=(GtkTreeViewColumn *) */ public static final native long /*int*/_gtk_tree_view_column_get_button(long /*int*/ column); @@ -8003,7 +8033,8 @@ public class GTK extends OS { } } /** - * @method flags=dynamic + * @param context cast=(GtkStyleContext *) + * @param cr cast=(cairo_t *) * @param x cast=(gdouble) * @param y cast=(gdouble) * @param width cast=(gdouble) @@ -8019,7 +8050,6 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param widget cast=(GtkWidget *) */ public static final native long /*int*/ _gtk_widget_get_style_context(long /*int*/ widget); @@ -8096,8 +8126,8 @@ public class GTK extends OS { } } /** - * @method flags=dynamic * @param widget cast=(GtkWidget *) + * @param region cast=(cairo_region_t *) */ public static final native void _gtk_widget_input_shape_combine_region(long /*int*/ widget, long /*int*/ region); public static final void gtk_widget_input_shape_combine_region(long /*int*/ widget, long /*int*/ region) { @@ -9009,7 +9039,10 @@ public class GTK extends OS { lock.unlock(); } } - /** @method flags=dynamic */ + /** + * @param widget cast=(GtkWidget *) + * @param region cast=(cairo_region_t *) + */ public static final native void _gtk_widget_shape_combine_region(long /*int*/ widget, long /*int*/ region); public static final void gtk_widget_shape_combine_region(long /*int*/ widget, long /*int*/ region) { lock.lock(); |