summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop
diff options
context:
space:
mode:
authorBogdan Gheorghe <gheorghe>2009-11-11 17:14:15 +0000
committerBogdan Gheorghe <gheorghe>2009-11-11 17:14:15 +0000
commit13a025bd51afcbc91969bc9e2cc641b3f36fec4c (patch)
tree44c80ab5c24ab0e20d5cf5f0ecc08b8c5b667108 /bundles/org.eclipse.swt/Eclipse SWT Drag and Drop
parent7626ff31966ce4808bcae79f4d61b2fe12aacf96 (diff)
downloadeclipse.platform.swt-13a025bd51afcbc91969bc9e2cc641b3f36fec4c.tar.gz
eclipse.platform.swt-13a025bd51afcbc91969bc9e2cc641b3f36fec4c.tar.xz
eclipse.platform.swt-13a025bd51afcbc91969bc9e2cc641b3f36fec4c.zip
215377 Program.getExtensions() return an empty array on Linux/GTK
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/ImageTransfer.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/ImageTransfer.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/ImageTransfer.java
index 16d78823a0..c4875c1bf9 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/ImageTransfer.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/ImageTransfer.java
@@ -141,7 +141,6 @@ public Object nativeToJava(TransferData transferData) {
OS.gdk_pixbuf_loader_close(loader, null);
int /*long*/ pixbuf = OS.gdk_pixbuf_loader_get_pixbuf(loader);
if (pixbuf != 0) {
- OS.g_object_ref(pixbuf);
int /*long*/ [] pixmap_return = new int /*long*/ [1];
OS.gdk_pixbuf_render_pixmap_and_mask(pixbuf, pixmap_return, null, 0);
int /*long*/ handle = pixmap_return[0];