[gthumb: 15/20] do not access suggested_action directly



commit c89a7851dcadfe9fc46afdc21ed352e9ee6674e4
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu May 12 13:10:46 2011 +0200

    do not access suggested_action directly

 gthumb/gth-icon-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-icon-view.c b/gthumb/gth-icon-view.c
index fd0071a..161f610 100644
--- a/gthumb/gth-icon-view.c
+++ b/gthumb/gth-icon-view.c
@@ -742,7 +742,7 @@ icon_view_motion_notify_event_cb (GtkWidget      *widget,
 						  icon_view->priv->drag_button,
 						  (GdkEvent *) event);
 			if (icon_view->priv->drag_button == 2)
-				context->suggested_action = GDK_ACTION_ASK;
+				gdk_drag_status (context, GDK_ACTION_ASK, event->time);
 
 			dnd_icon = gtk_icon_view_create_drag_icon (GTK_ICON_VIEW (icon_view), path);
 



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