diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2012-10-03 14:55:53 -0400 |
---|---|---|
committer | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-04 14:53:08 +0300 |
commit | c159a9553ef0699a68dfd8ee6cae8e56f4b4ccb4 (patch) | |
tree | b10eac79ff016219c25e1c2b8f609b109bc15887 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java | |
parent | a025bf9445abd24cfb0807a29038b2face3f0f8a (diff) | |
download | eclipse.platform.swt-c159a9553ef0699a68dfd8ee6cae8e56f4b4ccb4.tar.gz eclipse.platform.swt-c159a9553ef0699a68dfd8ee6cae8e56f4b4ccb4.tar.xz eclipse.platform.swt-c159a9553ef0699a68dfd8ee6cae8e56f4b4ccb4.zip |
Replace gdk_window_get_pointer with gdk_window_get_device_position GTK3
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java index 92ec814d9e..6ba97d92db 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java @@ -356,7 +356,7 @@ Point getLocation () { } if (x == -1 || y == -1) { int [] px = new int [1], py = new int [1]; - OS.gdk_window_get_pointer (0, px, py, null); + gdk_window_get_device_position (0, px, py, null); x = px [0]; y = py [0]; } |