Re: [gnet] Gnet vs. Gnet-2.0



get_iochannel refed the channel before returning it.  get_io_channel
does not.  You may have an extra iochannel_unref.

David

On Thu, 2003-10-16 at 08:56, Libor Nenadál wrote:
> I tried to use gnet-2.0.4 in my prog, which used gnet-1 before. All I've
> done was that I've changed gnet_tcp_socket_get_iochannel to
> gnet_tcp_socket_get_io_channel and I've added gnet_init() just before
> gtk_init() call. Now program crashes after several succesfull
> connections with SIGSEGV, probably in gtk_main. Is there any important
> change in gnet-2 that I should know about? Maybe I'm just doing
> something wrong, but I can't find out what. :(
> Thanks for any help.

-- 
David Helder - dhelder gizmolabs org - http://www.gizmolabs.org/~dhelder



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]