Export to GitHub

google-gadgets-for-linux - issue #377
[PATCH] Update for NetworkManager 0.9 API changes
Posted on Mar 25, 2011 by
Happy Ox
This patch updates the code for a few NM 0.9 API changes. It builds, but I have not extensively tested the functionality. NM 0.9 has added a few new connection and device states, and renumbered the existing ones. This means it's possible to keep compatibility with both old and new versions of NM since the state numbers don't conflict. The patch does this by removing some usage of defines from NetworkManager.h.
Furthermore, the device enums aren't going to get renumbered so I added them to the code instead of using the defines. They've been the same since the beginning.
- nm09.patch 7.78KB
Status: New