mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 06:14:13 +01:00
- added WMRemoveFromArrayMatching(array, match, cdata), which will remove the
first element in the array that is matched by match(item, cdata)==True. - added WMArrayFirst(), WMArrayLast(), WMArrayNext() and WMArrayPrevious() functions and also WM_ITERATE_ARRAY() and WM_ETARETI_ARRAY() macros, to make interfaces to WMBag and WMArray similar and to make life a little simpler when iterating through all elements of an array. - replaced bags with arrays wherever appropriate. This will improve performance a bit. - replaced some recursive code with iterative code in WINGs/selection.c - some code cleanup is src/
This commit is contained in:
@@ -58,7 +58,7 @@ struct _ImageBrowser {
|
||||
|
||||
ImageBrowserDelegate *delegate;
|
||||
|
||||
WMBag *previews;
|
||||
WMArray *previews;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user