[CM] snd error: "Wrong type to apply:"

Kjetil Svalastog Matheussen k.s.matheussen@notam02.no
Thu, 7 Apr 2005 22:06:57 +0200 (CEST)


On Thu, 7 Apr 2005, Kjetil Svalastog Matheussen wrote:

> 
> Bill Sack:
> >hi everyone.
> >in the last couple of versions of snd i've built (7.10, i think, and now
> >7.12) i've gotten the following error message whenever starting snd
> >while loading dlp's "misc.scm":
> >
> >
> <----->
> >
> >
> 
> I bet that the name of the icon "save-as" in the file new-icons.scm is
> interfering with something else.
> 
> Try to rename "save-as" in the top of the file "new-icons.scm" as
> "save-as-button", and replase "save-as" in "new-buttons.scm" with
> "save-as-button".
> 
> 
> 
Oops, to quick there. The problem is that the scheme function "open-file" 
is redefined to be an icon. Heres a patch I think should fix the problem,
including similar potensional problems in the future:
http://www.notam02.no/~kjetism/iconfix.diff
Bill, please apply. :-)


--