[Github-comments] [geany] Open files session files after entering main loop (#924)

Jiří Techet notifications at xxxxx
Tue Mar 1 10:35:11 UTC 2016


> IMO it'd be cleaner to put this args struct on the stack here, and pass a pointer to it as the user_data for the idle callback, rather than a global variable. It's in the main function and enters gtk_main() below, so the lifetime should be fine.

Good point, done.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/924#issuecomment-190654915
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160301/e20054e2/attachment.html>


More information about the Github-comments mailing list