network: Allow compiling against NM 0.9.6
NM 0.9.7 has still not been released, even as a tarball, so allow compiling against 0.9.6 (without certain bits of new functionality). https://bugzilla.gnome.org/show_bug.cgi?id=691721
This commit is contained in:
parent
3ac77e5d47
commit
ec704ab62f
7 changed files with 81 additions and 3 deletions
|
@ -582,7 +582,9 @@ typedef struct {
|
|||
static const NetConnectionType connection_types[] = {
|
||||
{ N_("VPN"), nm_setting_vpn_get_type },
|
||||
{ N_("Bond"), nm_setting_bond_get_type },
|
||||
#ifdef HAVE_NM_UNSTABLE
|
||||
{ N_("Bridge"), nm_setting_bridge_get_type },
|
||||
#endif
|
||||
{ N_("VLAN"), nm_setting_vlan_get_type }
|
||||
};
|
||||
static const NetConnectionType *vpn_connection_type = &connection_types[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue