forked from AuroraMiddleware/gtk
Better fix.
2006-06-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_set_column_drag_info): Better fix.
This commit is contained in:
parent
59862b0901
commit
2406a5b256
@ -1,5 +1,8 @@
|
||||
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.
|
||||
|
@ -1,5 +1,8 @@
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user