summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java
diff options
context:
space:
mode:
authorAnatoly Spektor <aspektor@redhat.com>2012-08-15 15:00:37 -0400
committerAnatoly Spektor <aspektor@redhat.com>2012-08-15 15:00:37 -0400
commitf9b1702d538b7119b88c12bc0de93297d0f1bfff (patch)
tree84de82d41d6f934fe5bb1bd1b08027ee573a93ce /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java
parent390e16e87916237b4b4a491c6ddf80f8de406bfc (diff)
parenta104ef04f5c11c447be0b7779b1621be8be740f1 (diff)
downloadeclipse.platform.swt-f9b1702d538b7119b88c12bc0de93297d0f1bfff.tar.gz
eclipse.platform.swt-f9b1702d538b7119b88c12bc0de93297d0f1bfff.tar.xz
eclipse.platform.swt-f9b1702d538b7119b88c12bc0de93297d0f1bfff.zip
Merge branch 'master' of http://git.eclipse.org/gitroot/platform/eclipse.platform.swt.git
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java
index 800ef4425e..8292ab796d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java
@@ -141,7 +141,7 @@ boolean drawCaret () {
OS.gdk_gc_set_function (gc, OS.GDK_XOR);
if (image != null && !image.isDisposed() && image.mask == 0) {
int[] width = new int[1]; int[] height = new int[1];
- OS.gdk_drawable_get_size(image.pixmap, width, height);
+ gdk_pixmap_get_size (image.pixmap, width, height);
int nX = x;
if ((parent.style & SWT.MIRRORED) != 0) nX = parent.getClientWidth () - width[0] - nX;
OS.gdk_draw_drawable(window, gc, image.pixmap, 0, 0, nX, y, width[0], height[0]);