Re: Preview Window problems

Michael Sweet (mike@easysw.com)
Thu, 31 Jul 1997 15:46:31 -0400

Michael Sweet wrote:
>
> I'm having trouble getting the "Preview Window" button to work on my
> SGI. Whenever I click on the button the plug-in dies and I get the
> following error messages on the console:
>
> ** ERROR **: BadMatch (invalid parameter attributes)
>
> ** ERROR **: BadWindow (invalid Window parameter)
>
> I *think* I have all the current patches to GTK added to the GIMP
> 0.99.10 distribution, but may others have experienced similar problems?
>
> SGI IRIX 6.3 (O2), GIMP 0.99.10, SANE 0.62...

OK, I'm answering my own question. Go ahead, shoot me! :)

In preview.c the symbol XSERVER_WITH_BUGGY_VISUALS is defined. If
you comment this out (if #ifndef __sgi it like I did) then the
preview window works "as advertised".

-- 
________________________________________________________________________
 Mike Sweet        Software for SGI and Sun      Easy Software Products
 (301) 373-9603          Workstations          44145 Airport View Drive
 mike@easysw.com    http://www.easysw.com    Hollywood, Maryland  20636

SUPPORT THE ANTI-SPAM AMENDMENT! - http://www.cauce.org

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com