GNOME Bugzilla – Bug 672976
Use GNetworkMonitor
Last modified: 2012-04-05 13:04:23 UTC
GLib 2.32 introduced GNetworkMonitor which sounds like a good replacement of EmpathyConnectivity.
Note that ideally we should get the connectivity info directly from MC: https://bugs.freedesktop.org/show_bug.cgi?id=45126
Port is pretty simple: http://cgit.collabora.com/git/user/cassidy/empathy/log/?h=connectivity-672976
Aw, my code! Your branch looks fine. Although do you need to ref the result of _get_default()?
Yeah it's (transfer none) for some reason; I guess the GLib keeps its own ref on it?
Merged to master. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.