~afeder/sessioninstaller/sessioninstaller

Viewing all changes in revision 131.

  • Committer: Martin Pitt
  • Date: 2012-08-21 06:43:09 UTC
  • Revision ID: martin.pitt@ubuntu.com-20120821064309-6wzq560pjgmzgm76
Work around static vs. GI bindings crash

Importing "gst" in core.py pulls in the static gobject, which collides with the
dynamic GI bindings. This leads to problems either way, but can only be fixed
when moving to GStreamer 1.0.

For now, move the import to be the last one, so that other imports are not
affected by the static gobject module. In particular, this will make aptdaemon
use the GI bindings and avoid a crash when talking to D-BUS.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: