[sword-devel] I cannot set icon in GTK

Barry Drake sword-devel@crosswire.org
Tue, 13 Aug 2002 07:10:01 +0100


Hi Victor .....

On 13 Aug 2002 at 6:52, porton@narod.ru wrote:
> (gtk_window_realize_icon): assertion `info->icon_pixmap == NULL' failed
> What is wrong? (I use GTK 2.)

Have you tried making the icon a .pix file (pixmap)?  I don't know how GTK2 
handles images, but GTK1 didn't like any other format than .pix in these 
functions.  You can use the GPL program XnView to do the conversion.

God bless,
Barry

>From Barry Drake (The Revd - minister of the Arnold and the Netherfield 
United 
Reformed Churches, Nottingham - see http://www.arnold-urc.supanet.com for 
our 
church homepages).

Replies - b.drake@ntlworld.com
Fax: 0705 069 8746