Re: Gdk-ERROR **: BadMatch (invalid parameter attributes)



Hi Leandro:
 
  I tried this solution but it seems doesn't really resolve the issue. Could you give some other suggestions?
 
  Thanks a lot.
 
--Li

"Leandro A. F. Pereira" <leandro linuxmag com br> wrote:

Quoted by a box full of funny rats
For `li liu '
On Wednesday, 09 July 2003 (16:27):

>
> We are still using gtk1.2. Can this problem be solved by using newer version
> of gtk1.2?
>

I don't think so. But if you add:

gdk_rgb_init();
gtk_widget_set_default_colormap(gdk_rgb_get_cmap());
gtk_widget_set_default_visual(gdk_rgb_get_visual());

Right after the gtk_init() call, the app won't crash.

--

Leandro Pereira (oO)
/||\ www.mindcrisis.tk


_______________________________________________
gnome-devel-list mailing list
gnome-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-devel-list


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

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