Commit c0034904 authored by Jonathan Blandford's avatar Jonathan Blandford Committed by Jonathan Blandford

fix small bug reported by (Oleg Maiboroda), #62600

Thu Oct 18 14:22:10 2001  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreestore.c (gtk_tree_store_remove): fix small bug
	reported by (Oleg Maiboroda), #62600
parent bf8e23e3
Thu Oct 18 14:22:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_remove): fix small bug
reported by (Oleg Maiboroda), #62600
2001-10-18 Michael Meeks <michael@ximian.com>
* gtk/gtkentry.c (gtk_entry_set_property),
......
Thu Oct 18 14:22:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_remove): fix small bug
reported by (Oleg Maiboroda), #62600
2001-10-18 Michael Meeks <michael@ximian.com>
* gtk/gtkentry.c (gtk_entry_set_property),
......
Thu Oct 18 14:22:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_remove): fix small bug
reported by (Oleg Maiboroda), #62600
2001-10-18 Michael Meeks <michael@ximian.com>
* gtk/gtkentry.c (gtk_entry_set_property),
......
Thu Oct 18 14:22:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_remove): fix small bug
reported by (Oleg Maiboroda), #62600
2001-10-18 Michael Meeks <michael@ximian.com>
* gtk/gtkentry.c (gtk_entry_set_property),
......
Thu Oct 18 14:22:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_remove): fix small bug
reported by (Oleg Maiboroda), #62600
2001-10-18 Michael Meeks <michael@ximian.com>
* gtk/gtkentry.c (gtk_entry_set_property),
......
Thu Oct 18 14:22:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_remove): fix small bug
reported by (Oleg Maiboroda), #62600
2001-10-18 Michael Meeks <michael@ximian.com>
* gtk/gtkentry.c (gtk_entry_set_property),
......
Thu Oct 18 14:22:10 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_remove): fix small bug
reported by (Oleg Maiboroda), #62600
2001-10-18 Michael Meeks <michael@ximian.com>
* gtk/gtkentry.c (gtk_entry_set_property),
......
......@@ -941,7 +941,8 @@ gtk_tree_store_set (GtkTreeStore *tree_store,
* @iter: A valid #GtkTreeIter
*
* Removes @iter from @tree_store. After being removed, @iter is set to the
* next valid row at that level, or invalidated if it previeously pointed to the last one.
* next valid row at that level, or invalidated if it previeously pointed to the
* last one.
**/
void
gtk_tree_store_remove (GtkTreeStore *tree_store,
......@@ -958,7 +959,7 @@ gtk_tree_store_remove (GtkTreeStore *tree_store,
parent = G_NODE (iter->user_data)->parent;
g_assert (parent != NULL);
next_node = G_NODE (iter->user_data);
next_node = G_NODE (iter->user_data)->next;
if (G_NODE (iter->user_data)->data)
_gtk_tree_data_list_free ((GtkTreeDataList *) G_NODE (iter->user_data)->data,
......@@ -992,6 +993,7 @@ gtk_tree_store_remove (GtkTreeStore *tree_store,
else
{
iter->stamp = 0;
iter->user_data = NULL;
}
}
......
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