summaryrefslogtreecommitdiff
path: root/invest-applet/invest/about.py
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-02-04 22:57:59 +0100
committerinfirit <[email protected]>2014-02-04 22:57:59 +0100
commite07db99e4ab834f562bd1d1234a5827ae5ef4747 (patch)
tree8e60c06cf7a663aac0473efe03f254de4176cce9 /invest-applet/invest/about.py
parent9f48b8cec28f20c1936b90bc424783823e6e9226 (diff)
downloadmate-applets-e07db99e4ab834f562bd1d1234a5827ae5ef4747.tar.bz2
mate-applets-e07db99e4ab834f562bd1d1234a5827ae5ef4747.tar.xz
invest-applet: Add gtk3 support
Diffstat (limited to 'invest-applet/invest/about.py')
-rw-r--r--invest-applet/invest/about.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/invest-applet/invest/about.py b/invest-applet/invest/about.py
index 9599c687..1cbd336a 100644
--- a/invest-applet/invest/about.py
+++ b/invest-applet/invest/about.py
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
from os.path import join
from gettext import gettext as _
-from mate_invest.defs import VERSION
+from mate_invest.defs import VERSION, GTK_API_VERSION
import mate_invest
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