Pass the target list to the underlying dnd implementation, otherwise we

2005-04-06  Matthias Clasen  <mclasen@redhat.com>

	* 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)
This commit is contained in:
Matthias Clasen 2005-04-07 03:55:13 +00:00 committed by Matthias Clasen
parent d1dd40d9ae
commit 25c468dfbb
4 changed files with 19 additions and 4 deletions

View File

@ -2,6 +2,11 @@
* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document
-1 as possible value. -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 <mclasen@redhat.com> 2005-04-06 Matthias Clasen <mclasen@redhat.com>

View File

@ -2,6 +2,11 @@
* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document
-1 as possible value. -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 <mclasen@redhat.com> 2005-04-06 Matthias Clasen <mclasen@redhat.com>

View File

@ -2,6 +2,11 @@
* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document
-1 as possible value. -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 <mclasen@redhat.com> 2005-04-06 Matthias Clasen <mclasen@redhat.com>

View File

@ -11638,8 +11638,8 @@ gtk_tree_view_enable_model_drag_source (GtkTreeView *tree_view,
gtk_drag_source_set (GTK_WIDGET (tree_view), gtk_drag_source_set (GTK_WIDGET (tree_view),
0, 0,
NULL, targets,
0, n_targets,
actions); actions);
di = ensure_info (tree_view); 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), gtk_drag_dest_set (GTK_WIDGET (tree_view),
0, 0,
NULL, targets,
0, n_targets,
actions); actions);
di = ensure_info (tree_view); di = ensure_info (tree_view);