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

Problem using colormaps.



Hello !

	I am trying to make a little program to display grey images, so I do
actually create a colormap and try to assign it to the main window with
the gtk_widget_set_colormap() fonction. It works but I have the same
message several times: 

Gtk-WARNING **: unable to allocate color: ( 30000 30000 30000 )

	I think that this is not due to the color values of the new colormap,
because for every different values I have the same messages. In add
because I use a "fileselection" widget, I have other messages when
canceling or chossing a file:
Gtk-CRITICAL **: file gtkstyle.c: line 575 (gtk_style_unref): assertion
`style->ref_count > 0' failed.

Thanks a lot.

-- 
_________________________________________________________
*							
*REYNA-ROJAS Roberto Alonso				
*LAAS-Laboratoire d'Analyse et Architecture de Systèmes		
*email: reyna@laas.fr							
_________________________________________________________



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