[gimp/gtk3-port: 132/226] app: use gdk_drag_context_get_selected_action() instead of conect->action
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 132/226] app: use gdk_drag_context_get_selected_action() instead of conect->action
- Date: Sun, 23 Nov 2014 18:10:49 +0000 (UTC)
commit 8d4482d55cbb4ba09cd36ca24df3e1cf5b5fdde6
Author: Michael Natterer <mitch gimp org>
Date: Wed Dec 22 22:01:23 2010 +0100
app: use gdk_drag_context_get_selected_action() instead of conect->action
app/widgets/gimptoolbox.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimptoolbox.c b/app/widgets/gimptoolbox.c
index ce44fe5..3e660d6 100644
--- a/app/widgets/gimptoolbox.c
+++ b/app/widgets/gimptoolbox.c
@@ -526,7 +526,8 @@ gimp_toolbox_drag_drop (GtkWidget *widget,
if (handled)
gtk_drag_finish (context,
TRUE /*success*/,
- (context->action == GDK_ACTION_MOVE) /*del*/,
+ gdk_drag_context_get_selected_action (context) ==
+ GDK_ACTION_MOVE /*del*/,
time);
return handled;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]