Avoid glist to transfer completion data to the completion.c.
authorDaniel Carl <danielcarl@gmx.de>
Sun, 14 Jul 2013 22:26:27 +0000 (00:26 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sun, 14 Jul 2013 22:26:27 +0000 (00:26 +0200)
commit3b9924a47cf86bfed3de2aca1e9439aa3092540c
tree73e18fcc23687904bd3b30daf0562fd3bcf364c6
parent9fd4f12126d0020ffc606d0161db61ebe254f869
Avoid glist to transfer completion data to the completion.c.

The completion asked the required components to spit out the list of
completion items to make a GtkListStore model and fill it with the data and to
free the list. Now we let the component like history, bookmark or setting fill
in the completion items self, which avoids unneeded list preparation and
memory allocation.
src/bookmark.c
src/bookmark.h
src/command.c
src/command.h
src/completion.c
src/completion.h
src/history.c
src/history.h
src/setting.c
src/setting.h