bzr-dbus uses deprecated GObject.MainLoop

Bug #1088252 reported by Thomi Richards
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-dbus
New
Undecided
Unassigned
bzr-dbus (Ubuntu)
New
Undecided
Unassigned

Bug Description

When branching some code from launchpad, the bzr-dbus plugin emits the following warning:

/home/thomi/.bazaar/plugins/dbus/activity.py:122: PyGIDeprecationWarning: MainLoop is deprecated; use GLib.MainLoop instead
  mainloop = GObject.MainLoop()

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: bzr-dbus 0.1~bzr52-2
ProcVersionSignature: Ubuntu 3.7.0-5.13-generic 3.7.0-rc8
Uname: Linux 3.7.0-5-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.6.3-0ubuntu4
Architecture: amd64
Date: Mon Dec 10 09:44:45 2012
InstallationDate: Installed on 2012-01-17 (327 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: bzr-dbus
UpgradeStatus: Upgraded to raring on 2012-12-05 (3 days ago)

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :
Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

There's an attached branch with a quick-and-dirty fix. I've verified that it prevents the warning from meing printed on my system. However:

1) There's no tests
2) I haven't verified that it works on a system without the gir packages installed.

Cheers,

Revision history for this message
NeilGreenwood (neil-greenwood) wrote :

I wonder if this is a duplicate of #1095884, which seems to already have a fix committed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.