]> spindle.queued.net Git - midori/commitdiff
Don't re-add toplevel items in recursive item query
authorChristian Dywan <christian@twotoasts.de>
Thu, 8 Mar 2012 21:06:13 +0000 (22:06 +0100)
committerChristian Dywan <christian@twotoasts.de>
Thu, 8 Mar 2012 21:20:04 +0000 (22:20 +0100)
midori/midori-array.c

index 4139386694505f553bbeb3de47774273b33fd2e7..7ba6c6242bd4739e9520795dfa0d71f342a8a006 100644 (file)
@@ -1125,8 +1125,6 @@ midori_array_query_recursive (KatzeArray*  bookmarks,
             katze_item_set_name (KATZE_ITEM (subarray), item->name);
             katze_array_add_item (array, subarray);
         }
-        else
-            katze_array_add_item (array, item);
     }
     g_list_free (list);
     return array;