Re: Problem with some widget on SGI



Chi-Deok Hwang wrote:
> 
> On Mon, 4 Jan 1999, Ronan BOURLIER wrote:
> 
> > Hi, I just installed glib/gtk 1.1.12.
> >
> > I have a SGI O2 R5000, I compile with egcs 1.1b and the OS is IRIX 6.3.
> > Since version 1.1.5 I have the following problems
> > in testgtk :
> >
> > - color selection : when I try to launch it :
> > Gdk-ERROR **: BadMatch (invalid parameter attributes)
> >   serial 24335 error_code 8 request_code 2 minor_code 0
> > aborting...
> > Abort (core dumped)
> 
> I had the same problem in solaris.
> try:
> 
> --- gtkpreview.c.orig   Tue Jan  5 08:09:32 1999
> +++ gtkpreview.c        Tue Jan  5 08:09:39 1999
> @@ -421,7 +421,7 @@
> 
>    widget->style = gtk_style_attach (widget->style, widget->window);
>    gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
> -  gdk_window_set_back_pixmap (widget->window, NULL, TRUE);
> +  gdk_window_set_back_pixmap (widget->window, NULL, FALSE);
>  }
> 
>  static gint
> 
Thanks it's working,
I have to figure out now why it's not working with TRUE.

would it be possible to have FALSE by default ?

Thanks in advance.

-- 
Ronan BOURLIER				phone : +1 (248) 357 0657
Radioss Consulting Corporation		fax   : +1 (248) 357 2962
Central Park Plaza, suite 518           email : ronan@radioss.com
26211 Central Park Blvd			WWW   : http://www.radioss.com
Southfield, MI - 48076



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