ctree pixmap



i tried to put an icon to my ctree it works but i get this warning msg, how can i avoid that ?

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

here's my interface.c

create_window(....)
{

........
........

pixmap = gdk_pixmap_create_from_xpm (effect_ctree->window, &mask, &style->bg[GTK_STATE_NORMAL], "pixmaps/effect.xpm");

node = gtk_ctree_insert_node (GTK_CTREE (effect_ctree), parent_node, NULL, text, 5, pixmap, mask,pixmap, mask,FALSE, FALSE);

......
......

}
===================================================================================
Selama Bulan Suci Ramadhan, ikuti Netkuis Ramadhan, Lomba Design E-Card, Opini Berhadiah hanya di www.plasa.com
===================================================================================



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