Chris Ellec <[EMAIL PROTECTED]> writes:
> 
> 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.
> 

Two mistakes:
 - you don't need to free the result of gtk_widget_get_colormap()
 - if you did, you'd use gdk_colormap_unref() not free()

Havoc

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

Reply via email to