Turn phoc_desktop into a GObject
Since we're bound towards GNOME anyway we can pick up some of GObjects benefits:
- way easier type checks
- easier life time tracking (not that important for the desktop object)
- swapping arguments in signals
- a consistent
self
argument to break the surface->surface chains later on
I have deliberately only reformatted functions I have touched to keep the diff noise reasonable. Reviewing with "git diff -w" might make this easier too.
Helps #27
Edited by Guido Gunther