Move utils to libsrc
- Move the function to find main window to
chatty-application.c
- Also move a function that were copied thrice to chatty-utils, and remove all duplicates
- Adapt code to above changes.
Please see individual commits for details.
/cc @guido.gunther