Hi,

Jean-Yves Lamoureux <[EMAIL PROTECTED]> writes:

> > it might be a valid GtkWindow, but gdk_pixmap_create_from_xpm_d wants a
> > GdkWindow. You'd better compile with -Wall to catch such errors.
> 
> Yeah, didn't saw this warning. I'm a bit confused with gTk and gDk in types 
> names you know :)
> 
> 
> So. Nothing crashes anymore, but I get lines like that : 
> Gdk-CRITICAL **: file gdkdraw.c: line 65 (gdk_draw_line): assertion `drawable 
> != NULL' failed.

widget->window is not initialized until the widget is realized. This
question comes up about 3 times a day on this list, so I suggest you
read the FAQ (http://www.gtk.org/faq/#AEN660) or look into the
archives.


Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to