Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2012-10-24 19:25:53 +0000
committerSilenio Quarti2012-10-24 19:25:53 +0000
commit9d1a7aa19bfa5f4813db3446bdb5f08f217c2cdf (patch)
treef594491aaad42055ea2502b6142b54ad6c2e352e
parent3f20eb141985695c94bfef8a385bd084ad49d97d (diff)
downloadeclipse.platform.swt-9d1a7aa19bfa5f4813db3446bdb5f08f217c2cdf.tar.gz
eclipse.platform.swt-9d1a7aa19bfa5f4813db3446bdb5f08f217c2cdf.tar.xz
eclipse.platform.swt-9d1a7aa19bfa5f4813db3446bdb5f08f217c2cdf.zip
remove gdk_gc_set_values from GTK3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java2
3 files changed, 4 insertions, 3 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 f585d0e827..92f31d169a 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
@@ -5910,12 +5910,12 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1gc_1set_1values)
OS_NATIVE_ENTER(env, that, _1gdk_1gc_1set_1values_FUNC);
if (arg1) if ((lparg1 = getGdkGCValuesFields(env, arg1, &_arg1)) == NULL) goto fail;
/*
- gdk_gc_set_values(arg0, (GdkGCValues *)lparg1, arg2);
+ gdk_gc_set_values(arg0, lparg1, arg2);
*/
{
OS_LOAD_FUNCTION(fp, gdk_gc_set_values)
if (fp) {
- ((void (CALLING_CONVENTION*)(jintLong, GdkGCValues *, jint))fp)(arg0, (GdkGCValues *)lparg1, arg2);
+ ((void (CALLING_CONVENTION*)(jintLong, GdkGCValues *, jint))fp)(arg0, lparg1, arg2);
}
}
fail:
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h
index b24ac3f8fd..b06f6bf5ef 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h
@@ -118,6 +118,7 @@
#define NO__1gdk_1gc_1set_1foreground
#define NO__1gdk_1gc_1set_1function
#define NO__1gdk_1gc_1set_1subwindow
+#define NO__1gdk_1gc_1set_1values
#define NO_GdkVisual
#define NO_GtkColorSelectionDialog
#define NO_GdkGCValues
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 6816fac22f..4833f18237 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
@@ -4392,7 +4392,7 @@ public static final void gdk_gc_set_ts_origin(long /*int*/ gc, int x, int y) {
}
/**
* @method flags=dynamic
- * @param values cast=(GdkGCValues *),flags=no_out
+ * @param values flags=no_out
*/
public static final native void _gdk_gc_set_values(long /*int*/ gc, GdkGCValues values, int values_mask);
public static final void gdk_gc_set_values(long /*int*/ gc, GdkGCValues values, int values_mask) {

Back to the top