summaryrefslogtreecommitdiff
path: root/invest-applet/invest/quotes.py
diff options
context:
space:
mode:
Diffstat (limited to 'invest-applet/invest/quotes.py')
-rw-r--r--invest-applet/invest/quotes.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/invest-applet/invest/quotes.py b/invest-applet/invest/quotes.py
index 448c13bd..0a48dc1e 100644
--- a/invest-applet/invest/quotes.py
+++ b/invest-applet/invest/quotes.py
@@ -1,6 +1,8 @@
from os.path import join
+from mate_invest.defs import GTK_API_VERSION
+
import gi
-gi.require_version("Gtk", "2.0")
+gi.require_version("Gtk", GTK_API_VERSION)
from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import GdkPixbuf