summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-04-11 07:54:10 (EDT)
committer Silenio Quarti2012-06-26 15:59:29 (EDT)
commit1ee7018db496fc59ca115f166d4eb10123172d00 (patch)
tree83718c7fa2d54ac72fdca3bfed14f6f17f067742
parent2533c6d7a0cf531d129024bf854e3e863b5c38e4 (diff)
downloadeclipse.platform.swt-1ee7018db496fc59ca115f166d4eb10123172d00.zip
eclipse.platform.swt-1ee7018db496fc59ca115f166d4eb10123172d00.tar.gz
eclipse.platform.swt-1ee7018db496fc59ca115f166d4eb10123172d00.tar.bz2
Remove unused gdk_* functions bindings.
Conflicts: bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c175
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c18
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h14
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java169
4 files changed, 2 insertions, 374 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 7a40a36..27ce223 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
@@ -4877,20 +4877,6 @@ JNIEXPORT jintLong JNICALL OS_NATIVE(_1gdk_1colormap_1get_1system)
}
#endif
-#ifndef NO__1gdk_1colormap_1query_1color
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1colormap_1query_1color)
- (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jobject arg2)
-{
- GdkColor _arg2, *lparg2=NULL;
- OS_NATIVE_ENTER(env, that, _1gdk_1colormap_1query_1color_FUNC);
- if (arg2) if ((lparg2 = getGdkColorFields(env, arg2, &_arg2)) == NULL) goto fail;
- gdk_colormap_query_color((GdkColormap *)arg0, (gulong)arg1, (GdkColor *)lparg2);
-fail:
- if (arg2 && lparg2) setGdkColorFields(env, arg2, lparg2);
- OS_NATIVE_EXIT(env, that, _1gdk_1colormap_1query_1color_FUNC);
-}
-#endif
-
#ifndef NO__1gdk_1cursor_1new
JNIEXPORT jintLong JNICALL OS_NATIVE(_1gdk_1cursor_1new)
(JNIEnv *env, jclass that, jintLong arg0)
@@ -5367,25 +5353,6 @@ fail:
}
#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)
-{
- jdouble *lparg1=NULL;
- jdouble *lparg2=NULL;
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, _1gdk_1event_1get_1root_1coords_FUNC);
- if (arg1) if ((lparg1 = (*env)->GetDoubleArrayElements(env, arg1, NULL)) == NULL) goto fail;
- if (arg2) if ((lparg2 = (*env)->GetDoubleArrayElements(env, arg2, NULL)) == NULL) goto fail;
- rc = (jboolean)gdk_event_get_root_coords((GdkEvent *)arg0, (gdouble *)lparg1, (gdouble *)lparg2);
-fail:
- if (arg2 && lparg2) (*env)->ReleaseDoubleArrayElements(env, arg2, lparg2, 0);
- if (arg1 && lparg1) (*env)->ReleaseDoubleArrayElements(env, arg1, lparg1, 0);
- OS_NATIVE_EXIT(env, that, _1gdk_1event_1get_1root_1coords_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO__1gdk_1event_1get_1state
JNIEXPORT jboolean JNICALL OS_NATIVE(_1gdk_1event_1get_1state)
(JNIEnv *env, jclass that, jintLong arg0, jintArray arg1)
@@ -5826,18 +5793,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1keyval_1to_1unicode)
}
#endif
-#ifndef NO__1gdk_1pango_1attr_1embossed_1new
-JNIEXPORT jintLong JNICALL OS_NATIVE(_1gdk_1pango_1attr_1embossed_1new)
- (JNIEnv *env, jclass that, jboolean arg0)
-{
- jintLong rc = 0;
- OS_NATIVE_ENTER(env, that, _1gdk_1pango_1attr_1embossed_1new_FUNC);
- rc = (jintLong)gdk_pango_attr_embossed_new(arg0);
- OS_NATIVE_EXIT(env, that, _1gdk_1pango_1attr_1embossed_1new_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO__1gdk_1pango_1context_1get
JNIEXPORT jintLong JNICALL OS_NATIVE(_1gdk_1pango_1context_1get)
(JNIEnv *env, jclass that)
@@ -6119,16 +6074,6 @@ fail:
}
#endif
-#ifndef NO__1gdk_1pixbuf_1scale
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1pixbuf_1scale)
- (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jint arg2, jint arg3, jint arg4, jint arg5, jdouble arg6, jdouble arg7, jdouble arg8, jdouble arg9, jint arg10)
-{
- OS_NATIVE_ENTER(env, that, _1gdk_1pixbuf_1scale_FUNC);
- gdk_pixbuf_scale((const GdkPixbuf *)arg0, (GdkPixbuf *)arg1, arg2, arg3, arg4, arg5, (double)arg6, (double)arg7, (double)arg8, (double)arg9, arg10);
- OS_NATIVE_EXIT(env, that, _1gdk_1pixbuf_1scale_FUNC);
-}
-#endif
-
#ifndef NO__1gdk_1pixbuf_1scale_1simple
JNIEXPORT jintLong JNICALL OS_NATIVE(_1gdk_1pixbuf_1scale_1simple)
(JNIEnv *env, jclass that, jintLong arg0, jint arg1, jint arg2, jint arg3)
@@ -6165,18 +6110,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(_1gdk_1pointer_1grab)
}
#endif
-#ifndef NO__1gdk_1pointer_1is_1grabbed
-JNIEXPORT jboolean JNICALL OS_NATIVE(_1gdk_1pointer_1is_1grabbed)
- (JNIEnv *env, jclass that)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, _1gdk_1pointer_1is_1grabbed_FUNC);
- rc = (jboolean)gdk_pointer_is_grabbed();
- OS_NATIVE_EXIT(env, that, _1gdk_1pointer_1is_1grabbed_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO__1gdk_1pointer_1ungrab
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1pointer_1ungrab)
(JNIEnv *env, jclass that, jint arg0)
@@ -6686,16 +6619,6 @@ fail:
}
#endif
-#ifndef NO__1gdk_1window_1clear_1area
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1clear_1area)
- (JNIEnv *env, jclass that, jintLong arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- OS_NATIVE_ENTER(env, that, _1gdk_1window_1clear_1area_FUNC);
- gdk_window_clear_area((GdkWindow *)arg0, arg1, arg2, arg3, arg4);
- OS_NATIVE_EXIT(env, that, _1gdk_1window_1clear_1area_FUNC);
-}
-#endif
-
#ifndef NO__1gdk_1window_1create_1similar_1surface
JNIEXPORT jintLong JNICALL OS_NATIVE(_1gdk_1window_1create_1similar_1surface)
(JNIEnv *env, jclass that, jintLong arg0, jint arg1, jint arg2, jint arg3)
@@ -6746,16 +6669,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1focus)
}
#endif
-#ifndef NO__1gdk_1window_1freeze_1updates
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1freeze_1updates)
- (JNIEnv *env, jclass that, jintLong arg0)
-{
- OS_NATIVE_ENTER(env, that, _1gdk_1window_1freeze_1updates_FUNC);
- gdk_window_freeze_updates((GdkWindow *)arg0);
- OS_NATIVE_EXIT(env, that, _1gdk_1window_1freeze_1updates_FUNC);
-}
-#endif
-
#ifndef NO__1gdk_1window_1get_1children
JNIEXPORT jintLong JNICALL OS_NATIVE(_1gdk_1window_1get_1children)
(JNIEnv *env, jclass that, jintLong arg0)
@@ -6931,18 +6844,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1invalidate_1region)
}
#endif
-#ifndef NO__1gdk_1window_1is_1viewable
-JNIEXPORT jboolean JNICALL OS_NATIVE(_1gdk_1window_1is_1viewable)
- (JNIEnv *env, jclass that, jintLong arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, _1gdk_1window_1is_1viewable_FUNC);
- rc = (jboolean)gdk_window_is_viewable((GdkWindow *)arg0);
- OS_NATIVE_EXIT(env, that, _1gdk_1window_1is_1viewable_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO__1gdk_1window_1is_1visible
JNIEXPORT jboolean JNICALL OS_NATIVE(_1gdk_1window_1is_1visible)
(JNIEnv *env, jclass that, jintLong arg0)
@@ -7088,34 +6989,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1restack)
}
#endif
-#ifndef NO__1gdk_1window_1scroll
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1scroll)
- (JNIEnv *env, jclass that, jintLong arg0, jint arg1, jint arg2)
-{
- OS_NATIVE_ENTER(env, that, _1gdk_1window_1scroll_FUNC);
- gdk_window_scroll((GdkWindow *)arg0, arg1, arg2);
- OS_NATIVE_EXIT(env, that, _1gdk_1window_1scroll_FUNC);
-}
-#endif
-
-#ifndef NO__1gdk_1window_1set_1accept_1focus
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1set_1accept_1focus)
- (JNIEnv *env, jclass that, jintLong arg0, jboolean arg1)
-{
- OS_NATIVE_ENTER(env, that, _1gdk_1window_1set_1accept_1focus_FUNC);
-/*
- gdk_window_set_accept_focus((GdkWindow *)arg0, (gboolean)arg1);
-*/
- {
- OS_LOAD_FUNCTION(fp, gdk_window_set_accept_focus)
- if (fp) {
- ((void (CALLING_CONVENTION*)(GdkWindow *, gboolean))fp)((GdkWindow *)arg0, (gboolean)arg1);
- }
- }
- OS_NATIVE_EXIT(env, that, _1gdk_1window_1set_1accept_1focus_FUNC);
-}
-#endif
-
#ifndef NO__1gdk_1window_1set_1back_1pixmap
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1set_1back_1pixmap)
(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jboolean arg2)
@@ -7166,44 +7039,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1set_1events)
}
#endif
-#ifndef NO__1gdk_1window_1set_1icon
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1set_1icon)
- (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1, jintLong arg2, jintLong arg3)
-{
- OS_NATIVE_ENTER(env, that, _1gdk_1window_1set_1icon_FUNC);
- gdk_window_set_icon((GdkWindow *)arg0, (GdkWindow *)arg1, (GdkPixmap *)arg2, (GdkBitmap *)arg3);
- OS_NATIVE_EXIT(env, that, _1gdk_1window_1set_1icon_FUNC);
-}
-#endif
-
-#ifndef NO__1gdk_1window_1set_1icon_1list
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1set_1icon_1list)
- (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1)
-{
- OS_NATIVE_ENTER(env, that, _1gdk_1window_1set_1icon_1list_FUNC);
- gdk_window_set_icon_list((GdkWindow *)arg0, (GList *)arg1);
- OS_NATIVE_EXIT(env, that, _1gdk_1window_1set_1icon_1list_FUNC);
-}
-#endif
-
-#ifndef NO__1gdk_1window_1set_1keep_1above
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1set_1keep_1above)
- (JNIEnv *env, jclass that, jintLong arg0, jboolean arg1)
-{
- OS_NATIVE_ENTER(env, that, _1gdk_1window_1set_1keep_1above_FUNC);
-/*
- gdk_window_set_keep_above((GdkWindow *)arg0, (gboolean)arg1);
-*/
- {
- OS_LOAD_FUNCTION(fp, gdk_window_set_keep_above)
- if (fp) {
- ((void (CALLING_CONVENTION*)(GdkWindow *, gboolean))fp)((GdkWindow *)arg0, (gboolean)arg1);
- }
- }
- OS_NATIVE_EXIT(env, that, _1gdk_1window_1set_1keep_1above_FUNC);
-}
-#endif
-
#ifndef NO__1gdk_1window_1set_1override_1redirect
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1set_1override_1redirect)
(JNIEnv *env, jclass that, jintLong arg0, jboolean arg1)
@@ -7254,16 +7089,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1show_1unraised)
}
#endif
-#ifndef NO__1gdk_1window_1thaw_1updates
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1window_1thaw_1updates)
- (JNIEnv *env, jclass that, jintLong arg0)
-{
- OS_NATIVE_ENTER(env, that, _1gdk_1window_1thaw_1updates_FUNC);
- gdk_window_thaw_updates((GdkWindow *)arg0);
- OS_NATIVE_EXIT(env, that, _1gdk_1window_1thaw_1updates_FUNC);
-}
-#endif
-
#ifndef NO__1gdk_1x11_1atom_1to_1xatom
JNIEXPORT jintLong JNICALL OS_NATIVE(_1gdk_1x11_1atom_1to_1xatom)
(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 ca116cf..3eafa7c 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 = 1370;
+int OS_nativeFunctionCallCount[1370];
char * OS_nativeFunctionNames[] = {
#ifndef JNI64
"Call__IIII",
@@ -422,7 +422,6 @@ char * OS_nativeFunctionNames[] = {
"_1gdk_1colormap_1alloc_1color",
"_1gdk_1colormap_1free_1colors",
"_1gdk_1colormap_1get_1system",
- "_1gdk_1colormap_1query_1color",
"_1gdk_1cursor_1new",
"_1gdk_1cursor_1new_1from_1pixbuf",
"_1gdk_1cursor_1new_1from_1pixmap",
@@ -451,7 +450,6 @@ char * OS_nativeFunctionNames[] = {
"_1gdk_1event_1free",
"_1gdk_1event_1get",
"_1gdk_1event_1get_1coords",
- "_1gdk_1event_1get_1root_1coords",
"_1gdk_1event_1get_1state",
"_1gdk_1event_1get_1time",
"_1gdk_1event_1handler_1set",
@@ -482,7 +480,6 @@ char * OS_nativeFunctionNames[] = {
"_1gdk_1keymap_1translate_1keyboard_1state",
"_1gdk_1keyval_1to_1lower",
"_1gdk_1keyval_1to_1unicode",
- "_1gdk_1pango_1attr_1embossed_1new",
"_1gdk_1pango_1context_1get",
"_1gdk_1pango_1context_1set_1colormap",
"_1gdk_1pango_1layout_1get_1clip_1region",
@@ -502,11 +499,9 @@ char * OS_nativeFunctionNames[] = {
"_1gdk_1pixbuf_1render_1pixmap_1and_1mask",
"_1gdk_1pixbuf_1render_1to_1drawable",
"_1gdk_1pixbuf_1save_1to_1bufferv",
- "_1gdk_1pixbuf_1scale",
"_1gdk_1pixbuf_1scale_1simple",
"_1gdk_1pixmap_1new",
"_1gdk_1pointer_1grab",
- "_1gdk_1pointer_1is_1grabbed",
"_1gdk_1pointer_1ungrab",
"_1gdk_1property_1get",
"_1gdk_1region_1destroy",
@@ -541,12 +536,10 @@ char * OS_nativeFunctionNames[] = {
"_1gdk_1window_1add_1filter",
"_1gdk_1window_1at_1pointer",
"_1gdk_1window_1begin_1paint_1rect",
- "_1gdk_1window_1clear_1area",
"_1gdk_1window_1create_1similar_1surface",
"_1gdk_1window_1destroy",
"_1gdk_1window_1end_1paint",
"_1gdk_1window_1focus",
- "_1gdk_1window_1freeze_1updates",
"_1gdk_1window_1get_1children",
"_1gdk_1window_1get_1events",
"_1gdk_1window_1get_1frame_1extents",
@@ -559,7 +552,6 @@ char * OS_nativeFunctionNames[] = {
"_1gdk_1window_1hide",
"_1gdk_1window_1invalidate_1rect",
"_1gdk_1window_1invalidate_1region",
- "_1gdk_1window_1is_1viewable",
"_1gdk_1window_1is_1visible",
"_1gdk_1window_1lookup",
"_1gdk_1window_1lower",
@@ -572,22 +564,16 @@ char * OS_nativeFunctionNames[] = {
"_1gdk_1window_1remove_1filter",
"_1gdk_1window_1resize",
"_1gdk_1window_1restack",
- "_1gdk_1window_1scroll",
- "_1gdk_1window_1set_1accept_1focus",
"_1gdk_1window_1set_1back_1pixmap",
"_1gdk_1window_1set_1cursor",
"_1gdk_1window_1set_1debug_1updates",
"_1gdk_1window_1set_1decorations",
"_1gdk_1window_1set_1events",
- "_1gdk_1window_1set_1icon",
- "_1gdk_1window_1set_1icon_1list",
- "_1gdk_1window_1set_1keep_1above",
"_1gdk_1window_1set_1override_1redirect",
"_1gdk_1window_1set_1user_1data",
"_1gdk_1window_1shape_1combine_1region",
"_1gdk_1window_1show",
"_1gdk_1window_1show_1unraised",
- "_1gdk_1window_1thaw_1updates",
"_1gdk_1x11_1atom_1to_1xatom",
"_1gdk_1x11_1display_1get_1xdisplay",
"_1gdk_1x11_1drawable_1get_1xdisplay",
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 382f4bb..2474c82 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
@@ -430,7 +430,6 @@ typedef enum {
_1gdk_1colormap_1alloc_1color_FUNC,
_1gdk_1colormap_1free_1colors_FUNC,
_1gdk_1colormap_1get_1system_FUNC,
- _1gdk_1colormap_1query_1color_FUNC,
_1gdk_1cursor_1new_FUNC,
_1gdk_1cursor_1new_1from_1pixbuf_FUNC,
_1gdk_1cursor_1new_1from_1pixmap_FUNC,
@@ -459,7 +458,6 @@ typedef enum {
_1gdk_1event_1free_FUNC,
_1gdk_1event_1get_FUNC,
_1gdk_1event_1get_1coords_FUNC,
- _1gdk_1event_1get_1root_1coords_FUNC,
_1gdk_1event_1get_1state_FUNC,
_1gdk_1event_1get_1time_FUNC,
_1gdk_1event_1handler_1set_FUNC,
@@ -490,7 +488,6 @@ typedef enum {
_1gdk_1keymap_1translate_1keyboard_1state_FUNC,
_1gdk_1keyval_1to_1lower_FUNC,
_1gdk_1keyval_1to_1unicode_FUNC,
- _1gdk_1pango_1attr_1embossed_1new_FUNC,
_1gdk_1pango_1context_1get_FUNC,
_1gdk_1pango_1context_1set_1colormap_FUNC,
_1gdk_1pango_1layout_1get_1clip_1region_FUNC,
@@ -510,11 +507,9 @@ typedef enum {
_1gdk_1pixbuf_1render_1pixmap_1and_1mask_FUNC,
_1gdk_1pixbuf_1render_1to_1drawable_FUNC,
_1gdk_1pixbuf_1save_1to_1bufferv_FUNC,
- _1gdk_1pixbuf_1scale_FUNC,
_1gdk_1pixbuf_1scale_1simple_FUNC,
_1gdk_1pixmap_1new_FUNC,
_1gdk_1pointer_1grab_FUNC,
- _1gdk_1pointer_1is_1grabbed_FUNC,
_1gdk_1pointer_1ungrab_FUNC,
_1gdk_1property_1get_FUNC,
_1gdk_1region_1destroy_FUNC,
@@ -549,12 +544,10 @@ typedef enum {
_1gdk_1window_1add_1filter_FUNC,
_1gdk_1window_1at_1pointer_FUNC,
_1gdk_1window_1begin_1paint_1rect_FUNC,
- _1gdk_1window_1clear_1area_FUNC,
_1gdk_1window_1create_1similar_1surface_FUNC,
_1gdk_1window_1destroy_FUNC,
_1gdk_1window_1end_1paint_FUNC,
_1gdk_1window_1focus_FUNC,
- _1gdk_1window_1freeze_1updates_FUNC,
_1gdk_1window_1get_1children_FUNC,
_1gdk_1window_1get_1events_FUNC,
_1gdk_1window_1get_1frame_1extents_FUNC,
@@ -567,7 +560,6 @@ typedef enum {
_1gdk_1window_1hide_FUNC,
_1gdk_1window_1invalidate_1rect_FUNC,
_1gdk_1window_1invalidate_1region_FUNC,
- _1gdk_1window_1is_1viewable_FUNC,
_1gdk_1window_1is_1visible_FUNC,
_1gdk_1window_1lookup_FUNC,
_1gdk_1window_1lower_FUNC,
@@ -580,22 +572,16 @@ typedef enum {
_1gdk_1window_1remove_1filter_FUNC,
_1gdk_1window_1resize_FUNC,
_1gdk_1window_1restack_FUNC,
- _1gdk_1window_1scroll_FUNC,
- _1gdk_1window_1set_1accept_1focus_FUNC,
_1gdk_1window_1set_1back_1pixmap_FUNC,
_1gdk_1window_1set_1cursor_FUNC,
_1gdk_1window_1set_1debug_1updates_FUNC,
_1gdk_1window_1set_1decorations_FUNC,
_1gdk_1window_1set_1events_FUNC,
- _1gdk_1window_1set_1icon_FUNC,
- _1gdk_1window_1set_1icon_1list_FUNC,
- _1gdk_1window_1set_1keep_1above_FUNC,
_1gdk_1window_1set_1override_1redirect_FUNC,
_1gdk_1window_1set_1user_1data_FUNC,
_1gdk_1window_1shape_1combine_1region_FUNC,
_1gdk_1window_1show_FUNC,
_1gdk_1window_1show_1unraised_FUNC,
- _1gdk_1window_1thaw_1updates_FUNC,
_1gdk_1x11_1atom_1to_1xatom_FUNC,
_1gdk_1x11_1display_1get_1xdisplay_FUNC,
_1gdk_1x11_1drawable_1get_1xdisplay_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 0d47149..adc603b 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
@@ -3571,20 +3571,6 @@ public static final int /*long*/ gdk_colormap_get_system() {
lock.unlock();
}
}
-/**
- * @param colormap cast=(GdkColormap *)
- * @param pixel cast=(gulong)
- * @param result cast=(GdkColor *)
- */
-public static final native void _gdk_colormap_query_color(int /*long*/ colormap, int /*long*/ pixel, GdkColor result);
-public static final void gdk_colormap_query_color(int /*long*/ colormap, int /*long*/ pixel, GdkColor result) {
- lock.lock();
- try {
- _gdk_colormap_query_color(colormap, pixel, result);
- } finally {
- lock.unlock();
- }
-}
/** @param cursor cast=(GdkCursor *) */
public static final native void _gdk_cursor_unref(int /*long*/ cursor);
public static final void gdk_cursor_unref(int /*long*/ cursor) {
@@ -3928,20 +3914,6 @@ public static final int /*long*/ gdk_event_get() {
* @param px cast=(gdouble *)
* @param py cast=(gdouble *)
*/
-public static final native boolean _gdk_event_get_root_coords(int /*long*/ event, double[] px, double[] py);
-public static final boolean gdk_event_get_root_coords(int /*long*/ event, double[] px, double[] py) {
- lock.lock();
- try {
- return _gdk_event_get_root_coords(event, px, py);
- } finally {
- lock.unlock();
- }
-}
-/**
- * @param event cast=(GdkEvent *)
- * @param px cast=(gdouble *)
- * @param py cast=(gdouble *)
- */
public static final native boolean _gdk_event_get_coords(int /*long*/ event, double[] px, double[] py);
public static final boolean gdk_event_get_coords(int /*long*/ event, double[] px, double[] py) {
lock.lock();
@@ -4322,15 +4294,6 @@ public static final int gdk_keyval_to_unicode(int keyval) {
lock.unlock();
}
}
-public static final native int /*long*/ _gdk_pango_attr_embossed_new(boolean embossed);
-public static final int /*long*/ gdk_pango_attr_embossed_new(boolean embossed) {
- lock.lock();
- try {
- return _gdk_pango_attr_embossed_new(embossed);
- } finally {
- lock.unlock();
- }
-}
public static final native int /*long*/ _gdk_pango_context_get();
public static final int /*long*/ gdk_pango_context_get() {
lock.lock();
@@ -4564,23 +4527,6 @@ public static final boolean gdk_pixbuf_save_to_bufferv(int /*long*/ pixbuf, int
}
/**
* @param src cast=(const GdkPixbuf *)
- * @param dest cast=(GdkPixbuf *)
- * @param offset_x cast=(double)
- * @param offset_y cast=(double)
- * @param scale_x cast=(double)
- * @param scale_y cast=(double)
- */
-public static final native void _gdk_pixbuf_scale(int /*long*/ src, int /*long*/ dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, int interp_type);
-public static final void gdk_pixbuf_scale(int /*long*/ src, int /*long*/ dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, int interp_type) {
- lock.lock();
- try {
- _gdk_pixbuf_scale(src, dest, dest_x, dest_y, dest_width, dest_height, offset_x, offset_y, scale_x, scale_y, interp_type);
- } finally {
- lock.unlock();
- }
-}
-/**
- * @param src cast=(const GdkPixbuf *)
* @param interp_type cast=(GdkInterpType)
*/
public static final native int /*long*/ _gdk_pixbuf_scale_simple(int /*long*/ src, int dest_width, int dest_height, int interp_type);
@@ -4624,15 +4570,6 @@ public static final int gdk_pointer_grab(int /*long*/ window, boolean owner_even
lock.unlock();
}
}
-public static final native boolean _gdk_pointer_is_grabbed();
-public static final boolean gdk_pointer_is_grabbed() {
- lock.lock();
- try {
- return _gdk_pointer_is_grabbed();
- } finally {
- lock.unlock();
- }
-}
/** @param time cast=(guint32) */
public static final native void _gdk_pointer_ungrab(int time);
public static final void gdk_pointer_ungrab(int time) {
@@ -5042,16 +4979,6 @@ public static final void gdk_window_begin_paint_rect(int /*long*/ window, GdkRec
lock.unlock();
}
}
-/** @param window cast=(GdkWindow *) */
-public static final native void _gdk_window_clear_area(int /*long*/ window, int x, int y, int width, int height);
-public static final void gdk_window_clear_area(int /*long*/ window, int x, int y, int width, int height) {
- lock.lock();
- try {
- _gdk_window_clear_area(window, x, y, width, height);
- } finally {
- lock.unlock();
- }
-}
/**
* @method flags=dynamic
* @param window cast=(GdkWindow *)
@@ -5115,16 +5042,6 @@ public static final void gdk_window_focus(int /*long*/ window, int timestamp) {
lock.unlock();
}
}
-/** @param window cast=(GdkWindow *) */
-public static final native void _gdk_window_freeze_updates(int /*long*/ window);
-public static final void gdk_window_freeze_updates(int /*long*/ window) {
- lock.lock();
- try {
- _gdk_window_freeze_updates(window);
- } finally {
- lock.unlock();
- }
-}
/**
* @param window cast=(GdkWindow *)
* @param rect cast=(GdkRectangle *),flags=no_in
@@ -5268,16 +5185,6 @@ public static final boolean gdk_window_is_visible(int /*long*/ window) {
}
}
/** @param window cast=(GdkWindow *) */
-public static final native boolean _gdk_window_is_viewable (int /*long*/ window);
-public static final boolean gdk_window_is_viewable (int /*long*/ window) {
- lock.lock();
- try {
- return _gdk_window_is_viewable (window);
- } finally {
- lock.unlock();
- }
-}
-/** @param window cast=(GdkWindow *) */
public static final native void _gdk_window_move(int /*long*/ window, int x, int y);
public static final void gdk_window_move(int /*long*/ window, int x, int y) {
lock.lock();
@@ -5377,30 +5284,6 @@ public static final void gdk_window_restack(int /*long*/ window, int /*long*/ si
lock.unlock();
}
}
-/** @param window cast=(GdkWindow *) */
-public static final native void _gdk_window_scroll(int /*long*/ window, int dx, int dy);
-public static final void gdk_window_scroll(int /*long*/ window, int dx, int dy) {
- lock.lock();
- try {
- _gdk_window_scroll(window, dx, dy);
- } finally {
- lock.unlock();
- }
-}
-/**
- * @method flags=dynamic
- * @param window cast=(GdkWindow *)
- * @param accept_focus cast=(gboolean)
- */
-public static final native void _gdk_window_set_accept_focus(int /*long*/ window, boolean accept_focus);
-public static final void gdk_window_set_accept_focus(int /*long*/ window, boolean accept_focus) {
- lock.lock();
- try {
- _gdk_window_set_accept_focus(window, accept_focus);
- } finally {
- lock.unlock();
- }
-}
/**
* @param window cast=(GdkWindow *)
* @param pixmap cast=(GdkPixmap *)
@@ -5463,48 +5346,6 @@ public static final void gdk_window_set_events(int /*long*/ window, int event_ma
}
/**
* @param window cast=(GdkWindow *)
- * @param icon_window cast=(GdkWindow *)
- * @param pixmap cast=(GdkPixmap *)
- * @param mask cast=(GdkBitmap *)
- */
-public static final native void _gdk_window_set_icon(int /*long*/ window, int /*long*/ icon_window, int /*long*/ pixmap, int /*long*/ mask);
-public static final void gdk_window_set_icon(int /*long*/ window, int /*long*/ icon_window, int /*long*/ pixmap, int /*long*/ mask) {
- lock.lock();
- try {
- _gdk_window_set_icon(window, icon_window, pixmap, mask);
- } finally {
- lock.unlock();
- }
-}
-/**
- * @param window cast=(GdkWindow *)
- * @param pixbufs cast=(GList *)
- */
-public static final native void _gdk_window_set_icon_list(int /*long*/ window, int /*long*/ pixbufs);
-public static final void gdk_window_set_icon_list(int /*long*/ window, int /*long*/ pixbufs) {
- lock.lock();
- try {
- _gdk_window_set_icon_list(window, pixbufs);
- } finally {
- lock.unlock();
- }
-}
-/**
- * @method flags=dynamic
- * @param window cast=(GdkWindow *)
- * @param setting cast=(gboolean)
- */
-public static final native void _gdk_window_set_keep_above(int /*long*/ window, boolean setting);
-public static final void gdk_window_set_keep_above(int /*long*/ window, boolean setting) {
- lock.lock();
- try {
- _gdk_window_set_keep_above(window, setting);
- } finally {
- lock.unlock();
- }
-}
-/**
- * @param window cast=(GdkWindow *)
* @param override_redirect cast=(gboolean)
*/
public static final native void _gdk_window_set_override_redirect(int /*long*/ window, boolean override_redirect);
@@ -5562,16 +5403,6 @@ public static final void gdk_window_show_unraised(int /*long*/ window) {
lock.unlock();
}
}
-/** @param window cast=(GdkWindow *) */
-public static final native void _gdk_window_thaw_updates(int /*long*/ window);
-public static final void gdk_window_thaw_updates(int /*long*/ window) {
- lock.lock();
- try {
- _gdk_window_thaw_updates(window);
- } finally {
- lock.unlock();
- }
-}
public static final native int _gtk_accelerator_get_default_mod_mask();
public static final int gtk_accelerator_get_default_mod_mask() {
lock.lock();