]> Pileus Git - ~andy/gtk/commitdiff
Return TRUE if there are children. (#162134, Iñigo Serna, patch by John
authorMatthias Clasen <mclasen@redhat.com>
Fri, 24 Dec 2004 03:48:47 +0000 (03:48 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 24 Dec 2004 03:48:47 +0000 (03:48 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkliststore.c

index 33c2271cdc01958b33cea6398a74f896526ddf37..becb104fe539c9186f9ad6ea222e2c1cc79113b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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)
+
        * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): 
        Transfer state from the button to the cell view to get
        prelighting right.  (#156327, Ricardo Veguilla)
index 33c2271cdc01958b33cea6398a74f896526ddf37..becb104fe539c9186f9ad6ea222e2c1cc79113b1 100644 (file)
@@ -1,5 +1,9 @@
 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)
+
        * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): 
        Transfer state from the button to the cell view to get
        prelighting right.  (#156327, Ricardo Veguilla)
index 33c2271cdc01958b33cea6398a74f896526ddf37..becb104fe539c9186f9ad6ea222e2c1cc79113b1 100644 (file)
@@ -1,5 +1,9 @@
 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)
+
        * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): 
        Transfer state from the button to the cell view to get
        prelighting right.  (#156327, Ricardo Veguilla)
index 33c2271cdc01958b33cea6398a74f896526ddf37..becb104fe539c9186f9ad6ea222e2c1cc79113b1 100644 (file)
@@ -1,5 +1,9 @@
 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)
+
        * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): 
        Transfer state from the button to the cell view to get
        prelighting right.  (#156327, Ricardo Veguilla)
index f05a1f2f7c3b8beda9f4a367c0bfd84cdfe63273..614922556944fe64e241398fe4beffde3f1db861 100644 (file)
@@ -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);