From dfb02694fa48440f17b07b70273f9d8710fd4da8 Mon Sep 17 00:00:00 2001 From: Adrian Iain Lam Date: Thu, 30 Jun 2016 02:00:07 +0800 Subject: [PATCH] Fix gi.require_version warning --- indicator-chars.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indicator-chars.py b/indicator-chars.py index d7d2c7d..434fea7 100755 --- a/indicator-chars.py +++ b/indicator-chars.py @@ -36,6 +36,10 @@ import os import re +import gi +gi.require_version('Gdk', '3.0') +gi.require_version('Gtk', '3.0') +gi.require_version('AppIndicator3', '0.1') from gi.repository import Gdk, Gtk, Gio, AppIndicator3 import signal -- 2.7.4