Message-ID: Date: Fri, 3 Nov 2006 14:12:39 -0500 From: "David Powers" To: "Olivier Andrieu" Subject: Re: GtkSocket interface Cc: lablgtk at math.nagoya-u.ac.jp In-Reply-To: <17739.35698.837050.275266 at karryall.dnsalias.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17739.35698.837050.275266@karryall.dnsalias.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Length: 1018 Worked like a charm. Thank you much. Now I just need to find a terminal application taht exposes a plug interface, or I need to delve into wrapping the vte widget. On 11/3/06, Olivier Andrieu wrote: > David Powers [Friday 3 November 2006] : > > > > An attempt to build the socket.ml example on a Fedora Core 5 machine > > with OCaml 3.09, Gtk 2.8, and the latest lablgtk code produces: > > > > Fatal error: exception Failure("Gobject.unsafe_create : type GtkSocket > > is not yet defined") > > > > when GWindow.socket is called. Oddly, I can create a plug object > > without this error, which implies that the socket/plug infrastructure > > is available. Does anyone have any thoughts on how this could be > > fixed? > > That's because GtkPlug/GtkSocket where in module GBin before. The ML > code has been moved to GWindow but not the C code apparently. > > As a workaround, adding this to your code should work: > ,---- > | GtkBin._gtkbin_init () > `---- > > -- > Olivier >