[gthumb] use the action field in the drag_data_received callback



commit 98f5bbc76eeb44a57b55328c7d3e619677a538d1
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Jan 20 20:17:53 2011 +0100

    use the action field in the drag_data_received callback

 gthumb/gth-browser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 92326fc..44b6c29 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -2495,8 +2495,8 @@ folder_tree_drag_data_received (GtkWidget        *tree_view,
 	char          **uris;
 	GList          *file_list;
 
-	/*suggested_action = gdk_drag_context_get_suggested_action (context);*/
-	suggested_action = context->suggested_action;
+	/*suggested_action = gdk_drag_context_get_action (context);*/
+	suggested_action = context->action;
 
 	if ((suggested_action == GDK_ACTION_COPY) || (suggested_action == GDK_ACTION_MOVE))
 		success = TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]