After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672976 - Use GNetworkMonitor
Use GNetworkMonitor
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: General
2.33.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2012-03-28 07:48 UTC by Guillaume Desmottes
Modified: 2012-04-05 13:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2012-03-28 07:48:12 UTC
GLib 2.32 introduced GNetworkMonitor which sounds like a good replacement of EmpathyConnectivity.
Comment 1 Guillaume Desmottes 2012-03-28 08:17:45 UTC
Note that ideally we should get the connectivity info directly from MC: https://bugs.freedesktop.org/show_bug.cgi?id=45126
Comment 2 Guillaume Desmottes 2012-03-28 08:32:47 UTC
Port is pretty simple: http://cgit.collabora.com/git/user/cassidy/empathy/log/?h=connectivity-672976
Comment 3 Jonny Lamb 2012-03-28 16:12:44 UTC
Aw, my code!

Your branch looks fine. Although do you need to ref the result of _get_default()?
Comment 4 Guillaume Desmottes 2012-03-29 08:22:11 UTC
Yeah it's (transfer none) for some reason; I guess the GLib keeps its own ref on it?
Comment 5 Guillaume Desmottes 2012-04-05 13:04:23 UTC
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.