Commit dde178cb authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Ensure GTK+ version 3 is imported in cairo_draw.py

parent 414a83c1
......@@ -1453,6 +1453,8 @@ def get_hierarchy_control_points(g, t, tpos, beta=0.8, cts=None, is_tree=True,
#
try:
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Gdk, GdkPixbuf
from gi.repository import GObject as gobject
from .gtk_draw import *
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment