[gnome-music] searchbar: Version the Gd import
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] searchbar: Version the Gd import
- Date: Sat, 31 Dec 2016 12:50:08 +0000 (UTC)
commit 6cc90273ca02429a9210424f9529b3f57e69631d
Author: Marinus Schraal <mschraal src gnome org>
Date: Sat Dec 31 12:15:56 2016 +0100
searchbar: Version the Gd import
The Gd import should be versioned, this issue was masked by the import
that was removed in the notification cleanup.
https://bugzilla.gnome.org/show_bug.cgi?id=776157
gnomemusic/searchbar.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/searchbar.py b/gnomemusic/searchbar.py
index ebaf13f..efe6854 100644
--- a/gnomemusic/searchbar.py
+++ b/gnomemusic/searchbar.py
@@ -24,7 +24,8 @@
# code, but you are not obligated to do so. If you do not wish to do so,
# delete this exception statement from your version.
-
+import gi
+gi.require_version('Gd', '1.0')
from gi.repository import Gtk, Gd, GObject, Pango, GLib
from gettext import gettext as _
from gnomemusic.grilo import grilo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]