Commit 2406a5b2 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Better fix.

2006-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_column_drag_info): Better
	fix.
parent 59862b09
2006-06-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_column_drag_info): Better
fix.
* gtk/gtk.symbols:
* gtk/gtkprintsettings.h:
* gtk/gtkprintsettings.c: Remove unused print-to-file setting.
......
2006-06-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_column_drag_info): Better
fix.
* gtk/gtk.symbols:
* gtk/gtkprintsettings.h:
* gtk/gtkprintsettings.c: Remove unused print-to-file setting.
......
......@@ -9028,7 +9028,7 @@ gtk_tree_view_set_column_drag_info (GtkTreeView *tree_view,
/* We know there are always 2 slots possbile, as you can always return column. */
/* If that's all there is, return */
if (g_list_length (tree_view->priv->column_drag_info) < 2 ||
if (tree_view->priv->column_drag_info->next == NULL ||
(tree_view->priv->column_drag_info->next->next == NULL &&
((GtkTreeViewColumnReorder *)tree_view->priv->column_drag_info->data)->right_column == column &&
((GtkTreeViewColumnReorder *)tree_view->priv->column_drag_info->next->data)->left_column == 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