From: Adrian Iain Lam Date: Wed, 29 Jun 2016 18:00:07 +0000 (+0800) Subject: Fix gi.require_version warning X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;ds=sidebyside;p=indicator-chars.git Fix gi.require_version warning --- 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