[gnome-music/wip/mschraal/pydeprecation: 2/3] window: Fix PyGObject deprecation warning



commit 1aa98d90077a9600c370f638724eddf33532ce8c
Author: Phil Dawson <phildawson1 gmail com>
Date:   Wed Dec 27 14:26:41 2017 +0100

    window: Fix PyGObject deprecation warning
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788701

 gnomemusic/window.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 7b269f6..12addd8 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -155,7 +155,7 @@ class Window(Gtk.ApplicationWindow):
             remove_notification_timeout(self)
 
         # Playlist name label
-        self._playlist_notification.label = Gtk.Label('')
+        self._playlist_notification.label = Gtk.Label()
         grid.add(self._playlist_notification.label)
 
         # Undo button


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