mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
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:
parent
bf8e23e349
commit
c00349046a
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user