GNOME Bugzilla – Bug 749180
gnetworkaddress: add return type annotation to parse methods
Last modified: 2015-05-11 16:43:03 UTC
Created attachment 303170 [details] [review] gnetworkaddress: add return type annotation to parse methods g_network_address_parse and parse_uri return GSocketConnectable*, but in reality they are GNetworkAddress instances.
Review of attachment 303170 [details] [review]: Worth mentioning that this matches `g_network_address_new()`, so we're being consistent here. And it looks like danw is the person adding these methods, so he should start doing the type from the start. /cc danw
(In reply to Colin Walters from comment #1) > And it looks like danw is the person adding these methods, so he should > start doing the type from the start. Actually, I didn't add either of them, and both of them were written before we were putting annotations in glib itself. So...