mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Don't
fail if iter is NULL. (#58347)
This commit is contained in:
parent
4c44499b3f
commit
d146290c53
@ -1,4 +1,9 @@
|
||||
2001-08-07 <matthiasc@waldgeist.poet.de>
|
||||
2001-08-08 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Don't
|
||||
fail if iter is NULL. (#58347)
|
||||
|
||||
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (render_para, gtk_text_layout_draw): Fix
|
||||
some off-by-one issues, fixing selection of line-ends. (#50323)
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-07 <matthiasc@waldgeist.poet.de>
|
||||
2001-08-08 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Don't
|
||||
fail if iter is NULL. (#58347)
|
||||
|
||||
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (render_para, gtk_text_layout_draw): Fix
|
||||
some off-by-one issues, fixing selection of line-ends. (#50323)
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-07 <matthiasc@waldgeist.poet.de>
|
||||
2001-08-08 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Don't
|
||||
fail if iter is NULL. (#58347)
|
||||
|
||||
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (render_para, gtk_text_layout_draw): Fix
|
||||
some off-by-one issues, fixing selection of line-ends. (#50323)
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-07 <matthiasc@waldgeist.poet.de>
|
||||
2001-08-08 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Don't
|
||||
fail if iter is NULL. (#58347)
|
||||
|
||||
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (render_para, gtk_text_layout_draw): Fix
|
||||
some off-by-one issues, fixing selection of line-ends. (#50323)
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-07 <matthiasc@waldgeist.poet.de>
|
||||
2001-08-08 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Don't
|
||||
fail if iter is NULL. (#58347)
|
||||
|
||||
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (render_para, gtk_text_layout_draw): Fix
|
||||
some off-by-one issues, fixing selection of line-ends. (#50323)
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-07 <matthiasc@waldgeist.poet.de>
|
||||
2001-08-08 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Don't
|
||||
fail if iter is NULL. (#58347)
|
||||
|
||||
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (render_para, gtk_text_layout_draw): Fix
|
||||
some off-by-one issues, fixing selection of line-ends. (#50323)
|
||||
|
@ -1,4 +1,9 @@
|
||||
2001-08-07 <matthiasc@waldgeist.poet.de>
|
||||
2001-08-08 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Don't
|
||||
fail if iter is NULL. (#58347)
|
||||
|
||||
2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (render_para, gtk_text_layout_draw): Fix
|
||||
some off-by-one issues, fixing selection of line-ends. (#50323)
|
||||
|
@ -609,8 +609,7 @@ gtk_tree_store_iter_n_children (GtkTreeModel *tree_model,
|
||||
gint i = 0;
|
||||
|
||||
g_return_val_if_fail (GTK_IS_TREE_STORE (tree_model), 0);
|
||||
g_return_val_if_fail (iter != NULL, FALSE);
|
||||
g_return_val_if_fail (iter->user_data != NULL, FALSE);
|
||||
g_return_val_if_fail (iter == NULL || iter->user_data != NULL, FALSE);
|
||||
|
||||
if (iter == NULL)
|
||||
node = G_NODE (GTK_TREE_STORE (tree_model)->root)->children;
|
||||
|
Loading…
Reference in New Issue
Block a user