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

re: displaying xpm image on a button - why this warning?



oh sorry*100 !!

I miss a line that is;

gtk_widget_realize(window);

After insert it, before the button creation & xpm_label_box, there is no
warning again..
I copyed the source code korean gtk tutorial and it has not above code..

But the source that I attatched is right one .. (oh no --;) That is
english version's.

sorry again & again..



Hi all.

I want to display xpm image on a button . So, I test a example of chap.
6 in gtk tutorial (I attatch it xpm_button.c). and then complie it and
run it. but such an warning occured.

** WARNING **: Creating pixmap from xpm with NULL window and colormap

why this warning is occured? & what shall I do remove it?
I use gtk1.0.5

T.I.A.





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