Commit 763452a1 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Fix some errors in the handling of drop columns. (#143355, John Finlay)

2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_get_drop_column)
	(gtk_tree_view_set_column_drag_info): Fix some errors in the
	handling of drop columns.  (#143355, John Finlay)
parent b1f056a8
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_get_drop_column)
(gtk_tree_view_set_column_drag_info): Fix some errors in the
handling of drop columns. (#143355, John Finlay)
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
Remove the no longer needed workaround.
......
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_get_drop_column)
(gtk_tree_view_set_column_drag_info): Fix some errors in the
handling of drop columns. (#143355, John Finlay)
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
Remove the no longer needed workaround.
......
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_get_drop_column)
(gtk_tree_view_set_column_drag_info): Fix some errors in the
handling of drop columns. (#143355, John Finlay)
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
Remove the no longer needed workaround.
......
......@@ -4018,7 +4018,7 @@ gtk_tree_view_get_drop_column (GtkTreeView *tree_view,
continue;
}
return cur_column;
return left_column;
}
if (!tree_view->priv->column_drop_func)
......@@ -4069,7 +4069,7 @@ gtk_tree_view_get_drop_column (GtkTreeView *tree_view,
continue;
}
return cur_column;
return left_column;
}
if (!tree_view->priv->column_drop_func)
......@@ -8054,7 +8054,7 @@ gtk_tree_view_set_column_drag_info (GtkTreeView *tree_view,
/* Add the last one */
if (tree_view->priv->column_drop_func == NULL ||
((left_column != column) &&
(* tree_view->priv->column_drop_func) (tree_view, column, left_column, cur_column, tree_view->priv->column_drop_func_data)))
(* tree_view->priv->column_drop_func) (tree_view, column, left_column, NULL, tree_view->priv->column_drop_func_data)))
{
reorder = g_new (GtkTreeViewColumnReorder, 1);
reorder->left_column = left_column;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment