Fix build warnings
About GObject introspection it looks good but I'm not really sure, because I don't know it very well, so I put it in a separate commit.
About GObject introspection it looks good but I'm not really sure, because I don't know it very well, so I put it in a separate commit.