aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-03-15 17:58:15 (EDT)
committerSilenio Quarti2012-03-19 11:21:07 (EDT)
commitfc9e034ed5a5c77bd326ef742e91fb08e09d9c32 (patch)
treecf88ffffb8d26f5b3b4c068d568d2d15e4bec25d
parent7f0e92a474848114999c959f30c9cf5832b6e8f4 (diff)
downloadeclipse.platform.swt-fc9e034ed5a5c77bd326ef742e91fb08e09d9c32.zip
eclipse.platform.swt-fc9e034ed5a5c77bd326ef742e91fb08e09d9c32.tar.gz
eclipse.platform.swt-fc9e034ed5a5c77bd326ef742e91fb08e09d9c32.tar.bz2
Remove gdk_gc_set_clip_rectangle.
Nothing uses it and it's deprecated and removed in GTK 3.
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c13
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java13
4 files changed, 2 insertions, 30 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 38d416a..ce2e0e0 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
@@ -5768,19 +5768,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1gc_1set_1clip_1origin)
}
#endif
-#ifndef NO__1gdk_1gc_1set_1clip_1rectangle
-JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1gc_1set_1clip_1rectangle)
- (JNIEnv *env, jclass that, jintLong arg0, jobject arg1)
-{
- GdkRectangle _arg1, *lparg1=NULL;
- OS_NATIVE_ENTER(env, that, _1gdk_1gc_1set_1clip_1rectangle_FUNC);
- if (arg1) if ((lparg1 = getGdkRectangleFields(env, arg1, &_arg1)) == NULL) goto fail;
- gdk_gc_set_clip_rectangle((GdkGC *)arg0, (GdkRectangle *)lparg1);
-fail:
- OS_NATIVE_EXIT(env, that, _1gdk_1gc_1set_1clip_1rectangle_FUNC);
-}
-#endif
-
#ifndef NO__1gdk_1gc_1set_1clip_1region
JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1gc_1set_1clip_1region)
(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1)
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 539e395..6048934 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 = 1385;
-int OS_nativeFunctionCallCount[1385];
+int OS_nativeFunctionCount = 1384;
+int OS_nativeFunctionCallCount[1384];
char * OS_nativeFunctionNames[] = {
#ifndef JNI64
"Call__IIII",
@@ -478,7 +478,6 @@ char * OS_nativeFunctionNames[] = {
"_1gdk_1gc_1set_1background",
"_1gdk_1gc_1set_1clip_1mask",
"_1gdk_1gc_1set_1clip_1origin",
- "_1gdk_1gc_1set_1clip_1rectangle",
"_1gdk_1gc_1set_1clip_1region",
"_1gdk_1gc_1set_1dashes",
"_1gdk_1gc_1set_1exposures",
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 5100389..54c59f7 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
@@ -486,7 +486,6 @@ typedef enum {
_1gdk_1gc_1set_1background_FUNC,
_1gdk_1gc_1set_1clip_1mask_FUNC,
_1gdk_1gc_1set_1clip_1origin_FUNC,
- _1gdk_1gc_1set_1clip_1rectangle_FUNC,
_1gdk_1gc_1set_1clip_1region_FUNC,
_1gdk_1gc_1set_1dashes_FUNC,
_1gdk_1gc_1set_1exposures_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 647a42e..84393bd 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
@@ -4319,19 +4319,6 @@ public static final void gdk_gc_set_clip_origin(int /*long*/ gc, int x, int y) {
}
/**
* @param gc cast=(GdkGC *)
- * @param rectangle cast=(GdkRectangle *),flags=no_out
- */
-public static final native void _gdk_gc_set_clip_rectangle(int /*long*/ gc, GdkRectangle rectangle);
-public static final void gdk_gc_set_clip_rectangle(int /*long*/ gc, GdkRectangle rectangle) {
- lock.lock();
- try {
- _gdk_gc_set_clip_rectangle(gc, rectangle);
- } finally {
- lock.unlock();
- }
-}
-/**
- * @param gc cast=(GdkGC *)
* @param region cast=(GdkRegion *)
*/
public static final native void _gdk_gc_set_clip_region(int /*long*/ gc, int /*long*/ region);