Re: Fwd: Re: text on a pixmap



Le Lundi 15 Avril 2002 12:27, Sven Neumann a écrit :

> 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.

Gdk-CRITICAL **: file gdkgc.c: line 288 (gdk_gc_unref): assertion `gc != 
NULL' failed.

Gdk-CRITICAL **: file gdkgc.c: line 51 (gdk_gc_new_with_values): assertion 
`window != NULL' failed.

Gdk-CRITICAL **: file gdkgc.c: line 456 (gdk_gc_set_foreground): assertion 
`gc != NULL' failed.

Gdk-CRITICAL **: file gdkdraw.c: line 416 (gdk_draw_image): assertion 
`drawable != NULL' failed.

Gdk-CRITICAL **: file gdkgc.c: line 288 (gdk_gc_unref): assertion `gc != 
NULL' failed.



then : 

gdk_pixmap_colormap_create_from_xpm (AboutWindow, colormap, &mask, NULL, 
"./About.xpm");

returns NULL.




Very sorry to ask something about such a silly topic, but I really need help 
...

thanks a lot anyway
-- 
Jean-Yves Lamoureux
Software Developper



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