Gtk 2.0 gtk_image_new_from_file trouble
- From: peter orloff gmx de
- To: gtk-list gnome org
- Subject: Gtk 2.0 gtk_image_new_from_file trouble
- Date: Thu, 18 Apr 2002 15:22:59 +0200 (MEST)
Hi !
I got the Hello World thing from gtk.org and compiled it and it worked fine.
Now I inserted the lines
GtkWidget *image;
image = gtk_image_new_from_file
("/opt/kde2/share/doc/HTML/en/khelpcenter/lines.png");
and it compiled. But when i run the program then following errors occur:
(process:1112): GLib-GObject-CRITICAL **:
gtype.c:1787:g_type_register_static(): initialization assertion failed, use
g_type_init() prior to this function
(process:1112): GLib-GObject-CRITICAL **:
gtype.c:1787:g_type_register_static(): initialization assertion failed, use
g_type_init() prior to this function
(process:1112): Gtk-CRITICAL **: file gtktypeutils.c: line 40
(gtk_type_unique):
assertion `GTK_TYPE_IS_OBJECT (parent_type)' failed
They repeat 4 times. The Program runs but with these errors.
What is it?
Cu Peter
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]