summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java
index 713ba8d723..d84a0bec18 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java
@@ -19,7 +19,7 @@ public class GDKPIXBUF extends OS {
/* GdkColorspace enumeration */
/* R/G/B additive color space */
- public final static int GDK_COLORSPACE_RGB = 0;
+ public static final native int GDK_COLORSPACE_RGB();
/* GIF-like animation overlay modes for frames */
public final static int GDK_PIXBUF_FRAME_RETAIN = 0;
@@ -215,11 +215,4 @@ public static final native int gdk_pixbuf_get_from_drawable (
int width,
int height);
-
-
-/* LOAD THE DLL */
-
-static {
- Library.loadLibrary ("swt-pixbuf");
-}
}