Re: Gdk-ERROR **: BadMatch (invalid parameter attributes)
- From: "Leandro A. F. Pereira" <leandro linuxmag com br>
- To: gnome-devel-list gnome org
- Subject: Re: Gdk-ERROR **: BadMatch (invalid parameter attributes)
- Date: Wed, 9 Jul 2003 21:34:13 -0300
Quoted by a box full of funny rats
For `li liu <liliu_98 yahoo com>'
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) <leandro linuxmag com br>
/||\ www.mindcrisis.tk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]