As the colordepth is not used in these Pixmap objects. The author is going to
simply set it to 1.
For the current version.
--
Étienne Loks
--- facttree.py.origin 2010-07-20 17:23:41.161856511 +0200
+++ facttree.py 2010-07-20 17:22:39.490354401 +0200
@@ -89,7 +101,7 @@
self.box = None
- pixmap = gtk.gdk.Pixmap(None, 10, 10, 24)
+ pixmap = gtk.gdk.Pixmap(None, 10, 10, 1)
_test_context = pixmap.cairo_create()
self._test_layout = _test_context.create_layout()
font = pango.FontDescription(gtk.Style().font_desc.to_string())
@@ -454,7 +466,7 @@
return None
fact = self.data
- pixmap = gtk.gdk.Pixmap(None, 10, 10, 24)
+ pixmap = gtk.gdk.Pixmap(None, 10, 10, 1)
context = pixmap.cairo_create()
layout = context.create_layout()
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]