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

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

Revision 1.1, Wed Oct 12 05:09:18 2016 UTC (7 years, 7 months ago) by kirby
Branch point for: MAIN

Initial revision

$OpenBSD$
--- gourmet/gtk_extras/ratingWidget.py.orig	Tue Oct 11 21:40:27 2016
+++ gourmet/gtk_extras/ratingWidget.py	Tue Oct 11 21:40:51 2016
@@ -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,