When setting the GtkTreeView's model, set prelight_node, prelight_tree,

2002-01-28  Jon Trowbridge  <trow@gnu.org>

	* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
	GtkTreeView's model, set prelight_node, prelight_tree,
	button_pressed_node and button_pressed_tree to NULL. (#69603)
This commit is contained in:
Jon Trowbridge 2002-01-28 20:28:52 +00:00 committed by Jon Trowbridge
parent 011cb31f18
commit ddff4ea49f
8 changed files with 48 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2002-01-28 Jon Trowbridge <trow@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
GtkTreeView's model, set prelight_node, prelight_tree,
button_pressed_node and button_pressed_tree to NULL. (#69603)
2002-01-28 Bill Haneman <bill.haneman@sun.com>
* gtk/gtkstyle.c:

View File

@ -1,3 +1,9 @@
2002-01-28 Jon Trowbridge <trow@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
GtkTreeView's model, set prelight_node, prelight_tree,
button_pressed_node and button_pressed_tree to NULL. (#69603)
2002-01-28 Bill Haneman <bill.haneman@sun.com>
* gtk/gtkstyle.c:

View File

@ -1,3 +1,9 @@
2002-01-28 Jon Trowbridge <trow@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
GtkTreeView's model, set prelight_node, prelight_tree,
button_pressed_node and button_pressed_tree to NULL. (#69603)
2002-01-28 Bill Haneman <bill.haneman@sun.com>
* gtk/gtkstyle.c:

View File

@ -1,3 +1,9 @@
2002-01-28 Jon Trowbridge <trow@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
GtkTreeView's model, set prelight_node, prelight_tree,
button_pressed_node and button_pressed_tree to NULL. (#69603)
2002-01-28 Bill Haneman <bill.haneman@sun.com>
* gtk/gtkstyle.c:

View File

@ -1,3 +1,9 @@
2002-01-28 Jon Trowbridge <trow@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
GtkTreeView's model, set prelight_node, prelight_tree,
button_pressed_node and button_pressed_tree to NULL. (#69603)
2002-01-28 Bill Haneman <bill.haneman@sun.com>
* gtk/gtkstyle.c:

View File

@ -1,3 +1,9 @@
2002-01-28 Jon Trowbridge <trow@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
GtkTreeView's model, set prelight_node, prelight_tree,
button_pressed_node and button_pressed_tree to NULL. (#69603)
2002-01-28 Bill Haneman <bill.haneman@sun.com>
* gtk/gtkstyle.c:

View File

@ -1,3 +1,9 @@
2002-01-28 Jon Trowbridge <trow@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_set_model): When setting the
GtkTreeView's model, set prelight_node, prelight_tree,
button_pressed_node and button_pressed_tree to NULL. (#69603)
2002-01-28 Bill Haneman <bill.haneman@sun.com>
* gtk/gtkstyle.c:

View File

@ -6728,6 +6728,12 @@ gtk_tree_view_set_model (GtkTreeView *tree_view,
_gtk_rbtree_free (tree_view->priv->tree);
tree_view->priv->tree = NULL;
}
tree_view->priv->prelight_node = NULL;
tree_view->priv->prelight_tree = NULL;
tree_view->priv->button_pressed_node = NULL;
tree_view->priv->button_pressed_tree = NULL;
gtk_tree_row_reference_free (tree_view->priv->drag_dest_row);
tree_view->priv->drag_dest_row = NULL;
gtk_tree_row_reference_free (tree_view->priv->cursor);