diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-12-03 22:58:14 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-12-03 22:58:14 +0100 |
commit | fb95ad9b5d0f14e31afb66e0a6280ec5f6dbbf0d (patch) | |
tree | edc83d07f108a21d7383481115f9c2e0df6bcffe /rapid/rapid.py | |
parent | c07f21c3d9342948df3f59ec7d9e1dac3b45e276 (diff) | |
parent | b5287ed17bda10877d84ba86fcf148ee74b93b9b (diff) |
merge new upstream release 0.4.11
Diffstat (limited to 'rapid/rapid.py')
-rwxr-xr-x | rapid/rapid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rapid/rapid.py b/rapid/rapid.py index dd67b63..303e1f7 100755 --- a/rapid/rapid.py +++ b/rapid/rapid.py @@ -352,7 +352,7 @@ class DeviceCollection(gtk.TreeView): def create_cairo_image_surface(pil_image, image_width, image_height): - imgd = pil_image.tostring("raw","BGRA", 0, 1) + imgd = pil_image.tobytes("raw","BGRA", 0, 1) data = array.array('B',imgd) stride = image_width * 4 image = cairo.ImageSurface.create_for_data(data, cairo.FORMAT_ARGB32, |