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/chart.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'invest-applet/invest/chart.py') diff --git a/invest-applet/invest/chart.py b/invest-applet/invest/chart.py index 0899351d..044a2209 100644 --- a/invest-applet/invest/chart.py +++ b/invest-applet/invest/chart.py @@ -1,7 +1,8 @@ #!/usr/bin/env python +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 -- cgit v1.2.1