[gnome-music/wip/mschraal/player-factor-out-gstreamer: 21/56] fix gi import versioning
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/player-factor-out-gstreamer: 21/56] fix gi import versioning
- Date: Fri, 16 Feb 2018 10:39:43 +0000 (UTC)
commit f9e72dfaed771980fb9a9370f6d268c626251923
Author: Marinus Schraal <mschraal gnome org>
Date: Fri Feb 9 08:15:23 2018 +0100
fix gi import versioning
gnomemusic/playlists.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gnomemusic/playlists.py b/gnomemusic/playlists.py
index 6d202b4..2e65661 100644
--- a/gnomemusic/playlists.py
+++ b/gnomemusic/playlists.py
@@ -26,6 +26,8 @@
# delete this exception statement from your version.
+import gi
+gi.require_version('Grl', '0.3')
from gi.repository import Grl, GLib, GObject
from gnomemusic import TrackerWrapper
from gnomemusic.grilo import grilo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]