summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Thondapu <arunkumar.thondapu@in.ibm.com>2012-08-14 14:56:16 +0530
committerArun Thondapu <arunkumar.thondapu@in.ibm.com>2012-08-14 14:56:16 +0530
commite946812c46913b9d68176f44d3cc076287200019 (patch)
tree68fe564e14d8e40c8772aeec8ac0d7a5d602c260
parent73b8760cc71f23fc1adf4097ba30ab56c13451ed (diff)
downloadeclipse.platform.swt-e946812c46913b9d68176f44d3cc076287200019.tar.gz
eclipse.platform.swt-e946812c46913b9d68176f44d3cc076287200019.tar.xz
eclipse.platform.swt-e946812c46913b9d68176f44d3cc076287200019.zip
Fix typo in previous patch for bug 387133
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java
index ddc093187a..917dad9c5a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java
@@ -364,7 +364,7 @@ public Image(Device device, Image srcImage, int flag) {
/* Get source image size */
int[] w = new int[1], h = new int[1];
if (OS.GTK_VERSION >= OS.VERSION(2, 24, 0)) {
- OS.gdk_pixmap_get_size(pixmap, w, h);
+ OS.gdk_pixmap_get_size(srcImage.pixmap, w, h);
} else {
OS.gdk_drawable_get_size(srcImage.pixmap, w, h);
}