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

Re: Reparenting a GtkSocket to another GtkContainer loses its GtkPlug



> You should be able to keep the socket alive by incrementing the
> reference count before removing it, and decrementing it again after
> adding it in the new container.

I should have mentioned that I g_object_ref the socket before I remove
it, but it is still getting unrealized -- _gtk_socket_end_embedding is
still getting called.


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