Re: GtkImage problem

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

 



On Fri, May 04, 2007 at 05:26:40PM -0700, beginner.c wrote:
> 
> Compile error
> passing argument 1 of 'gtk_image_set_from_file' from incompatible pointer
> type

Do what it says and typecast the variable with GTK_IMAGE().

> Runtime errors
> (process:12275): GLib-GObject-CRITICAL **: gtype.c:2242: initialization
> assertion failed, use IA__g_type_init() prior to this function

Do what is says and call gtk_init() (g_type_init() would not
be enough for you use Gtk+ too) as you have to in any Gtk+
program.

Yeti

--
http://gwyddion.net/
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux