forked from AuroraMiddleware/gtk
Don't access the level after removing the node, since that may kill the
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): Don't access the level after removing the node, since that may kill the level. (#132615, Crispin Flowerday)
This commit is contained in:
parent
db2440ed55
commit
f744d5aa33
@ -1,3 +1,9 @@
|
|||||||
|
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
|
||||||
|
Don't access the level after removing the node, since that may
|
||||||
|
kill the level. (#132615, Crispin Flowerday)
|
||||||
|
|
||||||
2004-02-02 Tor Lillqvist <tml@iki.fi>
|
2004-02-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
|
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
|
||||||
|
Don't access the level after removing the node, since that may
|
||||||
|
kill the level. (#132615, Crispin Flowerday)
|
||||||
|
|
||||||
2004-02-02 Tor Lillqvist <tml@iki.fi>
|
2004-02-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
|
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
|
||||||
|
Don't access the level after removing the node, since that may
|
||||||
|
kill the level. (#132615, Crispin Flowerday)
|
||||||
|
|
||||||
2004-02-02 Tor Lillqvist <tml@iki.fi>
|
2004-02-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
|
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
|
||||||
|
Don't access the level after removing the node, since that may
|
||||||
|
kill the level. (#132615, Crispin Flowerday)
|
||||||
|
|
||||||
2004-02-02 Tor Lillqvist <tml@iki.fi>
|
2004-02-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
|
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
|
||||||
|
Don't access the level after removing the node, since that may
|
||||||
|
kill the level. (#132615, Crispin Flowerday)
|
||||||
|
|
||||||
2004-02-02 Tor Lillqvist <tml@iki.fi>
|
2004-02-02 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
|
* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
|
||||||
|
@ -1079,13 +1079,14 @@ gtk_tree_model_filter_row_changed (GtkTreeModel *c_model,
|
|||||||
{
|
{
|
||||||
/* get rid of this node */
|
/* get rid of this node */
|
||||||
gtk_tree_model_get_iter (GTK_TREE_MODEL (filter), &iter, path);
|
gtk_tree_model_get_iter (GTK_TREE_MODEL (filter), &iter, path);
|
||||||
gtk_tree_model_filter_remove_node (filter, &iter, TRUE);
|
|
||||||
|
|
||||||
level = FILTER_LEVEL (iter.user_data);
|
level = FILTER_LEVEL (iter.user_data);
|
||||||
|
|
||||||
if (!level->parent_level)
|
if (!level->parent_level)
|
||||||
filter->priv->root_level_visible--;
|
filter->priv->root_level_visible--;
|
||||||
|
|
||||||
|
gtk_tree_model_filter_remove_node (filter, &iter, TRUE);
|
||||||
|
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user