]> spindle.queued.net Git - midori/commit
Implement cm_list_length() for faster list length computations
authorEnrico Tröger <enrico.troeger@uvena.de>
Thu, 7 Jan 2010 22:59:00 +0000 (23:59 +0100)
committerChristian Dywan <christian@twotoasts.de>
Thu, 7 Jan 2010 23:16:56 +0000 (00:16 +0100)
commitd7aa05b9ec97f7fba6096f311ce5cc9737e410cd
treed8d29b19faf20683b8b4c135ec4b6d64e6e536e3
parenta8cd1499ab30b0d6746cd3cdd86d089cdf233dac
Implement cm_list_length() for faster list length computations

Since we only need to know whether the list of selected items
has 0, 1 or 2 or more items, it's enough to check for these 3 cases
extensions/cookie-manager/cookie-manager-page.c