diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-12-24 03:48:47 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-12-24 03:48:47 +0000 |
commit | 6e63a0b8719954156fcfd762c71c5cd8302b63d0 (patch) | |
tree | 24ffd57ba89de5081267d29a3a56427820ea0fc1 /gtk/gtkliststore.c | |
parent | f9403b12e32a5e52afa506ff6aa05530d1adc3a1 (diff) | |
download | gtk+-6e63a0b8719954156fcfd762c71c5cd8302b63d0.tar.gz |
Return TRUE if there are children. (#162134, Iñigo Serna, patch by John
2004-12-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_iter_children):
Return TRUE if there are children. (#162134, Iñigo Serna,
patch by John Finlay)
Diffstat (limited to 'gtk/gtkliststore.c')
-rw-r--r-- | gtk/gtkliststore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c index f05a1f2f7c..6149225569 100644 --- a/gtk/gtkliststore.c +++ b/gtk/gtkliststore.c @@ -576,7 +576,7 @@ gtk_list_store_iter_children (GtkTreeModel *tree_model, list_store = GTK_LIST_STORE (tree_model); - if (_gtk_sequence_get_length (list_store->seq) == 0) + if (_gtk_sequence_get_length (list_store->seq) > 0) { iter->stamp = list_store->stamp; iter->user_data = _gtk_sequence_get_begin_ptr (list_store->seq); |