[gimp/gtk3-port: 154/239] 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: 154/239] app: use gdk_drag_context_get_selected_action() instead of conect->action
- Date: Fri, 30 Sep 2011 14:10:21 +0000 (UTC)
commit f6803836ecbca7c7d142ed1b7ed9517a828ca98c
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 eaf499f..73ea01c 100644
--- a/app/widgets/gimptoolbox.c
+++ b/app/widgets/gimptoolbox.c
@@ -541,7 +541,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]