summaryrefslogtreecommitdiff
path: root/invest-applet/invest/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'invest-applet/invest/widgets.py')
-rw-r--r--invest-applet/invest/widgets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/invest-applet/invest/widgets.py b/invest-applet/invest/widgets.py
index d7ff9228..a0319034 100644
--- a/invest-applet/invest/widgets.py
+++ b/invest-applet/invest/widgets.py
@@ -1,8 +1,9 @@
import os, time
from os.path import *
+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 GObject