diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 3 | ||||
-rw-r--r-- | gtk/gtktreeview.c | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -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. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 651c0d797..3cb6e41e7 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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. diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 4307f9c7d..dd0eddbb6 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -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)) |