From xemacs-m  Sun Mar 30 20:51:00 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id UAA09789
	for <xemacs-beta@xemacs.org>; Sun, 30 Mar 1997 20:50:58 -0600 (CST)
Received: by crystal.WonderWorks.COM 
	id QQcjep17788; Sun, 30 Mar 1997 21:50:57 -0500 (EST)
Date: Sun, 30 Mar 1997 21:50:57 -0500 (EST)
Message-Id: <QQcjep17788.199703310250@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: [PATCH] for Re: frame-icon problem (was Re: "live-icon" problem)
In-Reply-To: <199703310127.SAA28503@branagh.ta52.lanl.gov>
References: <199703281524.HAA08084@network-services.uoregon.edu>
	<199703281558.IAA21525@branagh.ta52.lanl.gov>
	<199703290020.RAA24043@branagh.ta52.lanl.gov>
	<199703310127.SAA28503@branagh.ta52.lanl.gov>
X-Mailer: VM 6.23 under Emacs 19.34.1
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

John A. Turner writes:
 > [...]
 > (1000) (specifier/warning) (error "Type of image instance not allowed here" #<image-instance (text) on #<x-device on ":0.0" 0x6f1> "/opt/local/xemacs-19.15-b104/etc/frame-icon/tree.xbm" 0x27c4>)

The problem is the bitmap.

(glyph-image-instance
 (make-glyph (concat data-directory "frame-icon/tree.xbm")))

produce a text glyph instead of the mono-pixmap it should
generate.

Here's a patch to fix it.

*** 1.1	1997/03/31 02:47:05
--- etc/frame-icon/tree.xbm	1997/03/31 02:49:45
***************
*** 1,6 ****
  #define tree_width 64
  #define tree_height 64
! static char tree.bits[] = {
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
--- 1,6 ----
  #define tree_width 64
  #define tree_height 64
! static char tree_bits[] = {
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

