gsocket: Remove (type) annotation from flags arguments
This is essentially a revert of commit
cc7f2f6b. While those
do accept values of type GSocketMsgFlags, they also accept OS-specific
flags which are not defined in GSocketMsgFlags.
The use of (type GSocketMsgFlags) makes language bindings like GJS rightfully assert that values passed in to the argument only contain flags from GSocketMsgFlags, which precludes the use of OS-specific flags, and hence breaks various bits of code.
Signed-off-by: Philip Withnall firstname.lastname@example.org
Fixes: gjs#227 (closed)