[hafqa] [hafqa] [Bug 856] Sapwood crashes with color depth != 16

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Thu Nov 16 21:10:55 EET 2006
https://maemo.org/bugzilla/show_bug.cgi?id=856





------- Additional Comments From jdapena at igalia.com  2006-11-16 21:10 -------
After some examination, I found this:

static void
extract_pixmap_single (GdkPixbuf  *pixbuf,
		       int i, int j,
		       int x, int y,
		       int width, int height,
		       PixbufOpenResponse *rep)
{
  GdkPixmap    *pixmap;
  static GdkGC *tmp_gc = NULL;
  gboolean      need_mask;

  pixmap = gdk_pixmap_new (NULL, width, height, 16);
                                               ^^^^

Pixmaps depth is hardcoded. I put 24 there, and it works ok with a 24 bit color
depth. I suppose a code getting the system color depth and using it for creating
the sapwood server pixmaps would help.


-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list