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

Fix import issue with newer gobject-introspection

parent 265f792d
......@@ -981,7 +981,7 @@ def transform_scale(M, scale):
from gi.repository import Gtk, Gdk, GdkPixbuf
import gi._gobject as gobject
from gi.repository import GObject as gobject
from .gtk_draw import *
except (ImportError, RuntimeError) as e:
msg = "Error importing Gtk module: %s; GTK+ drawing will not work." % str(e)
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