void or bool (GIOmm new definitions)

2010-02-05 Thread Glus Xof
Hi, I started to look over these new definitions: http://datsystems.dnsalias.com/doc/glibmm-2.4/docs/reference/html/classGio_1_1Socket.html And I'd like only to ask you if those methods (like bind, listen, connect...) will really return void... or bool instead. Thanks, Glus.

Re: void or bool (GIOmm new definitions)

2010-02-05 Thread Krzysztof Kosiński
2010/2/5 Glus Xof gtg...@gmail.com: I started to look over these new definitions: http://datsystems.dnsalias.com/doc/glibmm-2.4/docs/reference/html/classGio_1_1Socket.html And I'd like only to ask you if those methods (like bind, listen, connect...) will really return void... or bool

Re: void or bool (GIOmm new definitions)

2010-02-05 Thread Murray Cumming
On Fri, 2010-02-05 at 19:09 +0100, Krzysztof Kosiński wrote: They return void, and on error an exception (Gio::Error) is thrown. The documentation for the retun value is a leftover from the C API. Yes, we need to fix that documentation. I've added TODOs to the code, but bug me if I don't fix