[gtk+] gtkdnd: Use gdk_drag_begin_for_device()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkdnd: Use gdk_drag_begin_for_device()
- Date: Thu, 19 Nov 2015 22:37:32 +0000 (UTC)
commit e3012dc9b303ccc8b0301e7702b5cec0368da59a
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Nov 19 20:00:23 2015 +0100
gtkdnd: Use gdk_drag_begin_for_device()
We've got the pointer at hand there, just pass that instead of figuring
out from the client pointer.
gtk/gtkdnd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 58d0395..42bf8f1 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -2456,7 +2456,7 @@ gtk_drag_begin_internal (GtkWidget *widget,
source_widgets = g_slist_prepend (source_widgets, ipc_widget);
- context = gdk_drag_begin (ipc_window, targets);
+ context = gdk_drag_begin_for_device (ipc_window, pointer, targets);
gdk_drag_context_set_device (context, pointer);
g_list_free (targets);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]