Skip to content

Commit

Permalink
Merge pull request #54 from xquiet/master
Browse files Browse the repository at this point in the history
use gi.require_version to resolve a PyGIWarning
  • Loading branch information
tobias47n9e committed Aug 13, 2015
2 parents 4a08481 + 0c40bf9 commit 24c1ec4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions innstereo/main_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
the first instance of the GUI when the program starts.
"""

import gi

gi.require_version('Gtk', '3.0')

from gi.repository import Gtk, Gdk, GdkPixbuf
from matplotlib.backends.backend_gtk3cairo import (FigureCanvasGTK3Cairo
as FigureCanvas)
Expand Down

0 comments on commit 24c1ec4

Please sign in to comment.