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
This commit is contained in:
Jonathan Blandford 2001-10-18 18:39:36 +00:00 committed by Jonathan Blandford
parent bf8e23e349
commit c00349046a
8 changed files with 39 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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),

View File

@ -1,3 +1,8 @@
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),

View File

@ -1,3 +1,8 @@
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),

View File

@ -1,3 +1,8 @@
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),

View File

@ -1,3 +1,8 @@
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),

View File

@ -1,3 +1,8 @@
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),

View File

@ -1,3 +1,8 @@
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),

View File

@ -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;
}
}