[gnome-music/wip/mschraal/artrework: 14/23] albumartcache: Fix DefaultIcon docstring



commit 12b660b18a4fb88d278d1ffbf1d8899520d2f833
Author: Marinus Schraal <mschraal gnome org>
Date:   Mon Jan 15 11:55:16 2018 +0100

    albumartcache: Fix DefaultIcon docstring

 gnomemusic/albumartcache.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/albumartcache.py b/gnomemusic/albumartcache.py
index 9bd5a5e..9dbaa85 100644
--- a/gnomemusic/albumartcache.py
+++ b/gnomemusic/albumartcache.py
@@ -190,14 +190,14 @@ class DefaultIcon(GObject.GObject):
     def get(self, icon_type, art_size):
         """Returns the requested symbolic icon
 
-        Returns a GdkPixbuf of the requested symbolic icon
-        in the given size.
+        Returns a cairo surface of the requested symbolic icon in the
+        given size.
 
         :param enum icon_type: The DefaultIcon.Type of the icon
-        :param enum art_size: The ArtSize requested
+        :param enum art_size: The Art.Size requested
 
         :return: The symbolic icon
-        :rtype: GdkPixbuf
+        :rtype: cairo.Surface
         """
         if (icon_type, art_size) not in self._cache.keys():
             new_icon = self._make_default_icon(icon_type, art_size)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]