Make sure that we pass GObject* everywhere

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>