From 25c468dfbb224a57a4578c0fde1bdca9f1b4681c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 7 Apr 2005 03:55:13 +0000 Subject: [PATCH] Pass the target list to the underlying dnd implementation, otherwise we 2005-04-06 Matthias Clasen * gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source) (gtk_tree_view_enable_model_drag_dest): Pass the target list to the underlying dnd implementation, otherwise we miss the target info in the drag-data-received signal. (#164085, Jorn Baayen) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktreeview.c | 8 ++++---- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 27b74dac07..b98484f305 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,11 @@ * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document -1 as possible value. + (gtk_tree_view_enable_model_drag_source) + (gtk_tree_view_enable_model_drag_dest): Pass the target list + to the underlying dnd implementation, otherwise we miss the + target info in the drag-data-received signal. (#164085, Jorn + Baayen) 2005-04-06 Matthias Clasen diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 27b74dac07..b98484f305 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -2,6 +2,11 @@ * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document -1 as possible value. + (gtk_tree_view_enable_model_drag_source) + (gtk_tree_view_enable_model_drag_dest): Pass the target list + to the underlying dnd implementation, otherwise we miss the + target info in the drag-data-received signal. (#164085, Jorn + Baayen) 2005-04-06 Matthias Clasen diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 27b74dac07..b98484f305 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -2,6 +2,11 @@ * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document -1 as possible value. + (gtk_tree_view_enable_model_drag_source) + (gtk_tree_view_enable_model_drag_dest): Pass the target list + to the underlying dnd implementation, otherwise we miss the + target info in the drag-data-received signal. (#164085, Jorn + Baayen) 2005-04-06 Matthias Clasen diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 0fbc970905..f037f28bf1 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -11638,8 +11638,8 @@ gtk_tree_view_enable_model_drag_source (GtkTreeView *tree_view, gtk_drag_source_set (GTK_WIDGET (tree_view), 0, - NULL, - 0, + targets, + n_targets, actions); di = ensure_info (tree_view); @@ -11676,8 +11676,8 @@ gtk_tree_view_enable_model_drag_dest (GtkTreeView *tree_view, gtk_drag_dest_set (GTK_WIDGET (tree_view), 0, - NULL, - 0, + targets, + n_targets, actions); di = ensure_info (tree_view);