[gnome-music/wip/mschraal/core: 16/118] coresong: favorite is a bool



commit f03186ffd686b46e0b4a3c810e0e57ba3276cb30
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed May 8 22:04:03 2019 +0200

    coresong: favorite is a bool

 gnomemusic/coresong.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/coresong.py b/gnomemusic/coresong.py
index b0c5000b..94fdd1d5 100644
--- a/gnomemusic/coresong.py
+++ b/gnomemusic/coresong.py
@@ -14,7 +14,7 @@ class CoreSong(GObject.GObject):
     album_disc_number = GObject.Property(type=int)
     artist = GObject.Property(type=str)
     duration = GObject.Property(type=int)
-    favorite = GObject.Property(type=int)
+    favorite = GObject.Property(type=bool, default=False)
     play_count = GObject.Property(type=int)
     title = GObject.Property(type=str)
     track_number = GObject.Property(type=int)


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