summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBilly Biggs <bbiggs>2005-10-28 16:29:31 +0000
committerBilly Biggs <bbiggs>2005-10-28 16:29:31 +0000
commit8fbd7ecbd4a6550241c0f116787a1a02d945acf2 (patch)
tree893af517d9782c174b8100aa029b13c15a6a8d19
parente09cebbee6999fc9bede6a8ea0a1953ce26204ba (diff)
downloadeclipse.platform.swt-8fbd7ecbd4a6550241c0f116787a1a02d945acf2.tar.gz
eclipse.platform.swt-8fbd7ecbd4a6550241c0f116787a1a02d945acf2.tar.xz
eclipse.platform.swt-8fbd7ecbd4a6550241c0f116787a1a02d945acf2.zip
114139 - Bad colours for text in the plugin.xml editor
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties
index 3e591a8dc7..80d963f364 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties
@@ -1243,7 +1243,7 @@ OS__gdk_colormap_get_system=
OS__gdk_colormap_query_color=
OS__gdk_colormap_query_color_0=cast=(GdkColormap *)
OS__gdk_colormap_query_color_1=cast=(gulong)
-OS__gdk_colormap_query_color_2=cast=(GdkColor *),flags=no_in
+OS__gdk_colormap_query_color_2=cast=(GdkColor *)
OS__gdk_cursor_destroy=
OS__gdk_cursor_destroy_0=cast=(GdkCursor *)
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 53f72fd082..1582bce6ca 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
@@ -3153,7 +3153,7 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1colormap_1query_1color)
{
GdkColor _arg2, *lparg2=NULL;
OS_NATIVE_ENTER(env, that, _1gdk_1colormap_1query_1color_FUNC);
- if (arg2) if ((lparg2 = &_arg2) == NULL) goto fail;
+ 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);