Re: Reparenting a GtkSocket to another GtkContainer loses its GtkPlug

2007-09-06 Thread Nigel Tao
> 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

Re: Reparenting a GtkSocket to another GtkContainer loses its GtkPlug

2007-09-06 Thread Chris Vine
On Thu, 2007-09-06 at 23:57 +1000, Nigel Tao wrote: > I have two GTK programs (i.e. two separate processes), S and P, and I > want a GtkSocket running in S to hold a GtkPlug running in P. I've > followed the docs, and that's straightforward to get working. > > Now, in S, the GtkSocket actually li