gsocket: Remove (type) annotation from flags arguments
This is essentially a revert of commit cc7f2f6b. While those `flags` arguments 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. See https://gitlab.gnome.org/GNOME/gjs/issues/227#note_460136 and https://gitlab.gnome.org/GNOME/glib/merge_requests/710#note_460249 . Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: https://gitlab.gnome.org/GNOME/gjs/issues/227
Please register or sign in to comment