]> git.street.me.uk Git - andy/viking.git/commit
Don't retain GTK Dialogs in memory.
authorRob Norris <rw_norris@hotmail.com>
Mon, 18 May 2015 22:45:24 +0000 (23:45 +0100)
committerRob Norris <rw_norris@hotmail.com>
Sun, 31 May 2015 13:16:03 +0000 (14:16 +0100)
commit3705c908ef6e4fb04d55b7a9958c58782ae9b9b8
treeeee4220d25611d1f1e6c8faf8c0eb72e3b054296
parent4850161abf8f77393a9de3b1d5db4cc38c562ec4
Don't retain GTK Dialogs in memory.

Not entirely sure why these were created and then shown/hidden as it doesn't save much time compared to simply creating them on demand.

Latest versions of GTK Dialog are more complicated and seemingly respawns a thread every few seconds (presumably to monitor if files have been created/deleted), irrespective whether the dialog is shown or not.

Thus now destroying it we avoid this unnecessary thread (re)creation overhead.
src/vikwindow.c