[gnome-music/wip/mschraal/core: 17/93] coresong: favorite is a bool
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-music/wip/mschraal/core: 17/93] coresong: favorite is a bool
- Date: Fri, 21 Jun 2019 22:42:07 +0000 (UTC)
commit 6167c24beed43f5fb2d1c4109ab09860c1a907b8
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]