diff options
author | Bruno Coudoin <bcoudoin@src.gnome.org> | 2007-09-23 21:26:23 (GMT) |
---|---|---|
committer | Bruno Coudoin <bcoudoin@src.gnome.org> | 2007-09-23 21:26:23 (GMT) |
commit | b42cc05b51f3dff0ef004c42c6106703d303a529 (patch) | |
tree | 4256802da21407fafd7bf6c83f05ad4e46bc4a11 /src/gcompris | |
parent | 0caaaf23aa6d21d575032c1ff4bac9cc3d98bc77 (diff) |
- Fixed/Hacked to have missing dependancies from libgnomecanvas
appearing at the dynamic load of the python binding.
svn path=/trunk/; revision=3040
Diffstat (limited to 'src/gcompris')
-rw-r--r-- | src/gcompris/gcompris.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gcompris/gcompris.c b/src/gcompris/gcompris.c index 9a634a6..850d37d 100644 --- a/src/gcompris/gcompris.c +++ b/src/gcompris/gcompris.c @@ -1909,9 +1909,10 @@ main (int argc, char *argv[]) /* FIXME: HACK Needed or we have unresolved symbols at python plugin dlopen * Is there a better way to fix these? */ - GType dummy = gnome_canvas_polygon_get_type(); - dummy = gnome_canvas_clipgroup_get_type(); - dummy = gnome_canvas_bpath_get_type(); + GnomeCanvasItem *dummy = NULL; + GNOME_IS_CANVAS_POLYGON(dummy); + GNOME_IS_CANVAS_CLIPGROUP(dummy); + GNOME_IS_CANVAS_BPATH(dummy); return(0); } |