Hi, I am new to GTK. What will happen(say visually) if the following code throws assertion:
pixmap = gdk_pixmap_new(NULL,x,y, gdk_rgb_get_visual()->depth); gdk_drawable_set_colormap(pixmap, gdk_rgb_get_colormap()); Assertion: depth of drawable is not equal to the depth of colormap...!! Here the pixmap depth is not equal to the depth of colormap, so the colormap can't be set. But i am not having any idea regarding the effects of this assertion. I have a big code which is using these two lines and throwing assertion on GTKDFB. Will there be any problem related to colors..?? Regards, Siddharth _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list