core: Fix introspection scanner warnings

https://bugzilla.gnome.org/show_bug.cgi?id=724620
net: Fix introspection scanner warning

https://bugzilla.gnome.org/show_bug.cgi?id=724620