From e07db99e4ab834f562bd1d1234a5827ae5ef4747 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 4 Feb 2014 22:57:59 +0100 Subject: invest-applet: Add gtk3 support --- invest-applet/invest/widgets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'invest-applet/invest/widgets.py') 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 -- cgit v1.2.1