summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop
diff options
context:
space:
mode:
authorArun Thondapu <arunkumar.thondapu@in.ibm.com>2012-09-28 18:01:01 +0530
committerArun Thondapu <arunkumar.thondapu@in.ibm.com>2012-09-28 18:12:18 +0530
commit4e95e9822f38553154d401b66a8ec9a218291978 (patch)
treed89b1217b9b6966729ca4b14918d33d83f305adf /bundles/org.eclipse.swt/Eclipse SWT Drag and Drop
parent05d0c222631c4573978010636b08112190a63b4e (diff)
downloadeclipse.platform.swt-4e95e9822f38553154d401b66a8ec9a218291978.tar.gz
eclipse.platform.swt-4e95e9822f38553154d401b66a8ec9a218291978.tar.xz
eclipse.platform.swt-4e95e9822f38553154d401b66a8ec9a218291978.zip
Bug 388528 add GdkDevice* cast for gdk_device_get_associated_device()
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/DragSource.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java
index e403b01948..d6cf0b6a9d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java
@@ -319,7 +319,7 @@ void dragEnd(long /*int*/ widget, long /*int*/ context){
long /*int*/ display = OS.gdk_window_get_display(OS.gtk_widget_get_window(widget));
long /*int*/ device_manager = OS.gdk_display_get_device_manager(display);
long /*int*/ pointer = OS.gdk_device_manager_get_client_pointer(device_manager);
- long /*int*/ keyboard = OS.gdk_device_get_associated_device (pointer);
+ long /*int*/ keyboard = OS.gdk_device_get_associated_device(pointer);
OS.gdk_device_ungrab(pointer, OS.GDK_CURRENT_TIME);
OS.gdk_device_ungrab(keyboard, OS.GDK_CURRENT_TIME);
} else {