Comment 3 for bug 159583

Revision history for this message
jcfp (jcfp) wrote :

Mario, that file contains only an small piece of c programming, an array that is apparently intended to create an icon. This data is only used in main.c near line 131 as follows:

   icon_bitmap = gdk_bitmap_create_from_data(main_w->window,
      icon_bitmap_bits, icon_bitmap_width, icon_bitmap_height);
   gdk_window_set_icon(main_w->window, NULL, icon_bitmap, NULL);

This function gdk_bitmap_create_from_data [1] wants input data in XBM format, and I think it's exactly that what the icon_bitmap file contains. Unfortunately, if so, it won't be much use as an icon since this file type seems to be mono-color [2] only :(

[1] = http://library.gnome.org/devel/gdk/unstable/gdk-Bitmaps-and-Pixmaps.html
[2] = http://www.fileformat.info/format/xbm/