Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tiago Peixoto
graph-tool
Commits
98795441
Commit
98795441
authored
Apr 11, 2013
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix import issue with newer gobject-introspection
parent
265f792d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/graph_tool/draw/cairo_draw.py
src/graph_tool/draw/cairo_draw.py
+1
-1
No files found.
src/graph_tool/draw/cairo_draw.py
View file @
98795441
...
...
@@ -981,7 +981,7 @@ def transform_scale(M, scale):
try
:
from
gi.repository
import
Gtk
,
Gdk
,
GdkPixbuf
import
gi._go
bject
as
gobject
from
gi.repository
import
GO
bject
as
gobject
from
.gtk_draw
import
*
except
(
ImportError
,
RuntimeError
)
as
e
:
msg
=
"Error importing Gtk module: %s; GTK+ drawing will not work."
%
str
(
e
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment