From: Olivier Andrieu MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: <17739.35698.837050.275266 at karryall.dnsalias.org> Date: Fri, 3 Nov 2006 19:33:22 +0100 To: "David Powers" Cc: lablgtk at math.nagoya-u.ac.jp Subject: Re: GtkSocket interface In-Reply-To: References: Content-Type: text/plain; charset=us-ascii Content-Length: 753 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