From 3bc16533b5ca7ecf33700a590e9840c8cce7186d Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 27 Jan 2004 22:51:00 +0000 Subject: Removed unneeded debug printfs. 2004-01-27 Jeffrey Stedfast * em-migrate.c (cp): Removed unneeded debug printfs. * em-folder-tree.c (tree_drag_data_received): Use gtk_tree_view_get_dest_row_at_pos() instead of gtk_tree_view_get_path_at_pos() since this is what Nautilus uses. Unfortunately, it still gives us back the wrong GtkTreePath so it looks to me like Gtk+ is borked. Apparently you need the latest and greatest gtk+-2.3.x cvs snapshot for this to work. svn path=/trunk/; revision=24482 --- mail/em-folder-tree.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mail/em-folder-tree.c') diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 43012b3453..52d9764381 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -635,14 +635,13 @@ static gboolean tree_drag_motion (GtkWidget *widget, GdkDragContext *context, int x, int y, guint time, EMFolderTree *emft) { struct _EMFolderTreePrivate *priv = emft->priv; - GtkTreeViewColumn *column; - int cell_x, cell_y; + GtkTreeViewDropPosition pos; GtkTreePath *path; GdkDragAction action; printf ("::drag-motion called\n"); - if (!gtk_tree_view_get_path_at_pos (priv->treeview, x, y, &path, &column, &cell_x, &cell_y)) + if (!gtk_tree_view_get_dest_row_at_pos (priv->treeview, x, y, &path, &pos)) return FALSE; /* FIXME: highlight target row? */ -- cgit