summaryrefslogtreecommitdiff
path: root/deskutils/gourmet/files/patch-pillow3
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gourmet/files/patch-pillow3')
-rw-r--r--deskutils/gourmet/files/patch-pillow334
1 files changed, 0 insertions, 34 deletions
diff --git a/deskutils/gourmet/files/patch-pillow3 b/deskutils/gourmet/files/patch-pillow3
deleted file mode 100644
index 2a0df4cf3fc7..000000000000
--- a/deskutils/gourmet/files/patch-pillow3
+++ /dev/null
@@ -1,34 +0,0 @@
-commit 4d88788a6efc68acf243a1a33d854f76b2f26dfd
-Author: Joe Sapp <joe@babyjoe>
-Date: Tue Nov 3 21:23:05 2015 -0500
-
- Use Image.tobytes() instead of tostring()
-
- tostring() was deprecated (in Pillow at least) in version 2.0. See https://github.com/python-pillow/Pillow/commit/baa5143394708704328dcd46b0387f36a276a762
-
-diff --git a/gourmet/gtk_extras/ratingWidget.py b/gourmet/gtk_extras/ratingWidget.py
-index 0e01735d..efa64638 100644
---- gourmet/gtk_extras/ratingWidget.py
-+++ gourmet/gtk_extras/ratingWidget.py
-@@ -135,7 +135,7 @@ class StarGenerator:
- if is_rgba: rowstride = 4
- else: rowstride = 3
- pb=gtk.gdk.pixbuf_new_from_data(
-- image.tostring(),
-+ image.tobytes(),
- gtk.gdk.COLORSPACE_RGB,
- is_rgba,
- 8,
-diff --git a/gourmet/plugins/browse_recipes/icon_helpers.py b/gourmet/plugins/browse_recipes/icon_helpers.py
-index 61c772c0..2e7b08b1 100644
---- gourmet/plugins/browse_recipes/icon_helpers.py
-+++ gourmet/plugins/browse_recipes/icon_helpers.py
-@@ -38,7 +38,7 @@ def get_pixbuf_from_image (image):
- if is_rgba: rowstride = 4
- else: rowstride = 3
- pb=gtk.gdk.pixbuf_new_from_data(
-- image.tostring(),
-+ image.tobytes(),
- gtk.gdk.COLORSPACE_RGB,
- is_rgba,
- 8,