Mercurial > projects > dwt-linux
diff dwt/dnd/TableDropTargetEffect.d @ 240:ce446666f5a2
Update to SWT 3.4M7
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 12 May 2008 19:13:01 +0200 |
parents | f2e04420fd6c |
children | c0d810de7093 |
line wrap: on
line diff
--- a/dwt/dnd/TableDropTargetEffect.d Mon May 12 15:36:37 2008 +0200 +++ b/dwt/dnd/TableDropTargetEffect.d Mon May 12 19:13:01 2008 +0200 @@ -110,7 +110,7 @@ public override void dragLeave(DropTargetEvent event) { Table table = cast(Table) control; auto handle = table.handle; - OS.gtk_tree_view_unset_rows_drag_dest(handle); + OS.gtk_tree_view_set_drag_dest_row(handle, null, OS.GTK_TREE_VIEW_DROP_BEFORE); scrollBeginTime = 0; scrollIndex = -1; @@ -181,10 +181,10 @@ if (position !is 0) { OS.gtk_tree_view_set_drag_dest_row(handle, path, OS.GTK_TREE_VIEW_DROP_INTO_OR_BEFORE); } else { - OS.gtk_tree_view_unset_rows_drag_dest(handle); + OS.gtk_tree_view_set_drag_dest_row(handle, null, OS.GTK_TREE_VIEW_DROP_BEFORE); } } else { - OS.gtk_tree_view_unset_rows_drag_dest(handle); + OS.gtk_tree_view_set_drag_dest_row(handle, null, OS.GTK_TREE_VIEW_DROP_BEFORE); } if (path !is null) OS.gtk_tree_path_free (path ); }