hello,
I use a colormap with gtk_widget_get_colormap(widget) in an expose_event
to draw some circles of various colors. This works fine.
However, I imagine I need to do a free(colormap) somewhere. If I put it
at the end of the expose_event, the program segfaults. Since I have
colormap as a local variable, I can't free it anywhere else.
Should it be global ? Do I have to free it ?
Thanks for your help,
Chris.
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list