[Gtk-sharp-list] Gdk.Pixbuf Problem
Mike Kestner
mkestner@speakeasy.net
Sat, 25 Oct 2003 00:03:29 -0500
On Fri, 2003-10-24 at 17:37, Gonçal Carrero Puig wrote:
> public static void Main(string[] args)
> {
> Pixbuf image_pixbuf = new Pixbuf("./FXCD0001.JPG");
> }
> I've other programs that make use of pixbuf and have no problem.
> Anyone knows what's happening? Is ther something I'm missing or doing
> wrong?
You need to call Gtk.Application.Init () to initialize the type system
prior to instantiating any GTypes.
--
Mike Kestner <mkestner@speakeasy.net>