From: Christian Dywan Date: Thu, 8 Mar 2012 21:06:13 +0000 (+0100) Subject: Don't re-add toplevel items in recursive item query X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7940a02ae8314eea1faff3028a33c26e61b18e61;p=midori Don't re-add toplevel items in recursive item query --- diff --git a/midori/midori-array.c b/midori/midori-array.c index 41393866..7ba6c624 100644 --- a/midori/midori-array.c +++ b/midori/midori-array.c @@ -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;