aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Stadelmann <dev@genodeftest.de>2015-11-03 19:18:51 +0100
committerChristian Stadelmann <dev@genodeftest.de>2015-11-03 19:18:51 +0100
commit442fb9bd5df72e6eb89c34352882ac80f9c9660b (patch)
tree0c74e268262082a0543023f6116a16175e8416fd /src
parentMerge pull request #264 from arttox88cz/patch-1 (diff)
downloadredshift-ng-442fb9bd5df72e6eb89c34352882ac80f9c9660b.tar.gz
redshift-ng-442fb9bd5df72e6eb89c34352882ac80f9c9660b.tar.bz2
redshift-ng-442fb9bd5df72e6eb89c34352882ac80f9c9660b.tar.xz
Specify required Gtk version
This fixes a warning when starting redshift-gtk with gtk 3.18.
Diffstat (limited to 'src')
-rw-r--r--src/redshift-gtk/statusicon.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/redshift-gtk/statusicon.py b/src/redshift-gtk/statusicon.py
index b766175..e09b523 100644
--- a/src/redshift-gtk/statusicon.py
+++ b/src/redshift-gtk/statusicon.py
@@ -29,6 +29,9 @@ import signal
import re
import gettext
+import gi
+gi.require_version('Gtk', '3.0')
+
from gi.repository import Gtk, GLib, GObject
try: