~mvo/aptdaemon/send-signal-on-auth-fail

Viewing all changes in revision 872.

  • Committer: Martin Pitt
  • Date: 2012-11-26 10:29:31 UTC
  • Revision ID: martin.pitt@ubuntu.com-20121126102931-l5wj3i9blva6u000
Fix deprecated GObject.* API

Call GLib API through GLib.*, not GObject.*. The latter has been deprecated for
some time and causes PyGIDeprecationWarnings with PyGObject >= 3.7.2.

This gets rid of 247 of the 311 deprecation warnings during the tests. The
remaining ones will need bumping the minimum pygobject version, and will be
fixed later.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: