clean up selection when changing models.
Wed Aug 22 19:03:27 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_set_model): clean up selection when changing models.
This commit is contained in:
parent
953d4b248e
commit
3485237744
@ -1,3 +1,8 @@
|
|||||||
|
Wed Aug 22 19:03:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_set_model): clean up selection
|
||||||
|
when changing models.
|
||||||
|
|
||||||
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Aug 22 19:03:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_set_model): clean up selection
|
||||||
|
when changing models.
|
||||||
|
|
||||||
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Aug 22 19:03:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_set_model): clean up selection
|
||||||
|
when changing models.
|
||||||
|
|
||||||
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Aug 22 19:03:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_set_model): clean up selection
|
||||||
|
when changing models.
|
||||||
|
|
||||||
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Aug 22 19:03:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_set_model): clean up selection
|
||||||
|
when changing models.
|
||||||
|
|
||||||
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Aug 22 19:03:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_set_model): clean up selection
|
||||||
|
when changing models.
|
||||||
|
|
||||||
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Aug 22 19:03:27 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_set_model): clean up selection
|
||||||
|
when changing models.
|
||||||
|
|
||||||
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
Wed Aug 22 18:25:46 2001 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
* gtk/gtktreeview.c: Fix selection. I think it's all dandy now.
|
||||||
|
@ -6201,11 +6201,13 @@ gtk_tree_view_set_model (GtkTreeView *tree_view,
|
|||||||
_gtk_rbtree_free (tree_view->priv->tree);
|
_gtk_rbtree_free (tree_view->priv->tree);
|
||||||
tree_view->priv->tree = NULL;
|
tree_view->priv->tree = NULL;
|
||||||
}
|
}
|
||||||
if (tree_view->priv->drag_dest_row)
|
|
||||||
{
|
|
||||||
gtk_tree_row_reference_free (tree_view->priv->drag_dest_row);
|
gtk_tree_row_reference_free (tree_view->priv->drag_dest_row);
|
||||||
tree_view->priv->drag_dest_row = NULL;
|
tree_view->priv->drag_dest_row = NULL;
|
||||||
}
|
gtk_tree_row_reference_free (tree_view->priv->cursor);
|
||||||
|
tree_view->priv->cursor = NULL;
|
||||||
|
gtk_tree_row_reference_free (tree_view->priv->anchor);
|
||||||
|
tree_view->priv->anchor = NULL;
|
||||||
|
|
||||||
g_object_unref (tree_view->priv->model);
|
g_object_unref (tree_view->priv->model);
|
||||||
tree_view->priv->search_column = -1;
|
tree_view->priv->search_column = -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user