Skip to content

Commit

Permalink
Fix gi.require_version()
Browse files Browse the repository at this point in the history
  • Loading branch information
RingOV committed Dec 14, 2016
1 parent 95e478a commit 379cd3b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gis-weather.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
#
# gis_weather.py
v = '0.8.2.1'
v = '0.8.2.2'
# Copyright (C) 2013-2016 Alexander Koltsov <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -56,6 +56,12 @@

INSTANCE_NO = instance.count()

import gi
gi.require_version('Gtk', '3.0')
gi.require_version('PangoCairo', '1.0')
gi.require_version('AppIndicator3', '0.1')
gi.require_version('Rsvg', '2.0')

from gi.repository import Gtk, GObject, Pango, PangoCairo, Gdk, GdkPixbuf, GLib

try:
Expand Down

0 comments on commit 379cd3b

Please sign in to comment.