[gnome-music/wip/mschraal/core: 19/70] coresong: favorite is a bool
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-music/wip/mschraal/core: 19/70] coresong: favorite is a bool
- Date: Tue, 18 Jun 2019 15:55:54 +0000 (UTC)
commit 747744c1512e001f9cc978329b6b8d725f8db508
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]