]> spindle.queued.net Git - midori/commit
Use foreach with copied list for importing bookmarks
authorChristian Dywan <christian@twotoasts.de>
Sun, 5 Dec 2010 22:34:17 +0000 (23:34 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 5 Dec 2010 22:34:17 +0000 (23:34 +0100)
commitb604b177bb0dbd50fdfb668b513c49bc4baeefcb
treec6e028614aaab6d8b4197253c6e523dd448ca6c2
parent566985bb8b94413c1396013afb95485d92e4e268
Use foreach with copied list for importing bookmarks

The new macro KATZE_ARRAY_FOREACH_ITEM_L is added, taking a
list that must be freed afterwards. It copies the list to
not enter infinite recursion if items are removed or appended.
katze/katze-array.h
panels/midori-bookmarks.c