summaryrefslogtreecommitdiff
path: root/invest-applet/invest/preferences.py
diff options
context:
space:
mode:
Diffstat (limited to 'invest-applet/invest/preferences.py')
-rw-r--r--invest-applet/invest/preferences.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/invest-applet/invest/preferences.py b/invest-applet/invest/preferences.py
index f531a51e..48fb0169 100644
--- a/invest-applet/invest/preferences.py
+++ b/invest-applet/invest/preferences.py
@@ -1,8 +1,10 @@
from gettext import gettext as _
import locale
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 GObject
import mate_invest