mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Don't crash if somebody tries to move a node after itself in a list of
Sun Jul 4 01:11:07 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktreestore.c (gtk_tree_store_move): Don't crash if somebody tries to move a node after itself in a list of length 1. (#145291, Sampo Nurmentaus)
This commit is contained in:
parent
e3fbe3c14f
commit
b98e17c850
@ -1,3 +1,9 @@
|
||||
Sun Jul 4 01:11:07 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_move): Don't crash if
|
||||
somebody tries to move a node after itself in a list of
|
||||
length 1. (#145291, Sampo Nurmentaus)
|
||||
|
||||
Sat Jul 3 23:43:23 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/faq/gtk-faq.sgml:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jul 4 01:11:07 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_move): Don't crash if
|
||||
somebody tries to move a node after itself in a list of
|
||||
length 1. (#145291, Sampo Nurmentaus)
|
||||
|
||||
Sat Jul 3 23:43:23 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/faq/gtk-faq.sgml:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jul 4 01:11:07 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_move): Don't crash if
|
||||
somebody tries to move a node after itself in a list of
|
||||
length 1. (#145291, Sampo Nurmentaus)
|
||||
|
||||
Sat Jul 3 23:43:23 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/faq/gtk-faq.sgml:
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sun Jul 4 01:11:07 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_move): Don't crash if
|
||||
somebody tries to move a node after itself in a list of
|
||||
length 1. (#145291, Sampo Nurmentaus)
|
||||
|
||||
Sat Jul 3 23:43:23 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* docs/faq/gtk-faq.sgml:
|
||||
|
@ -2317,7 +2317,8 @@ gtk_tree_store_move (GtkTreeStore *tree_store,
|
||||
parent->children = node;
|
||||
|
||||
node->next = tmp;
|
||||
tmp->prev = node;
|
||||
if (tmp)
|
||||
tmp->prev = node;
|
||||
|
||||
handle_b = FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user