[BACK]Return to patch-gourmet_plugins_browse_recipes_icon_helpers_py CVS log [TXT][DIR] Up to [local] / ports / misc / gourmet / patches

File: [local] / ports / misc / gourmet / patches / patch-gourmet_plugins_browse_recipes_icon_helpers_py (download)

Revision 1.1.1.2 (vendor branch), Mon Nov 21 09:21:36 2016 UTC (7 years, 7 months ago) by kirby
Branch: kirby, kirbt, MAIN
CVS Tags: kgpsd, import, HEAD
Changes since 1.1.1.1: +3 -0 lines

import gpsd update

$OpenBSD$

# upstream commit 4d88788a6efc68acf243a1a33d854f76b2f26dfd

--- gourmet/plugins/browse_recipes/icon_helpers.py.orig	Tue Oct 11 21:41:33 2016
+++ gourmet/plugins/browse_recipes/icon_helpers.py	Tue Oct 11 21:42:01 2016
@@ -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,