network: Remove HAVE_NM_UNSTABLE check
We don't have any code that relies on it anymore. https://bugzilla.gnome.org/show_bug.cgi?id=747443
This commit is contained in:
parent
a4729411b5
commit
da96effab7
2 changed files with 0 additions and 9 deletions
|
@ -213,13 +213,6 @@ if test x${have_networkmanager} = xyes; then
|
|||
AC_SUBST(NM_VPN_MODULE_DIR)
|
||||
fi
|
||||
|
||||
# Work-around for https://bugzilla.gnome.org/show_bug.cgi?id=723769
|
||||
PKG_CHECK_MODULES(NM_UNSTABLE_CHECK, libnm-util >= 0.9.9.0, nm_unstable=yes, nm_unstable=no)
|
||||
if test x$nm_unstable = xyes; then
|
||||
AC_DEFINE(HAVE_NM_UNSTABLE, 1, [Define to 1 if NetworkManager is available])
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_NM_UNSTABLE, [test x$nm_unstable = xyes])
|
||||
|
||||
# Check for gnome-bluetooth
|
||||
PKG_CHECK_MODULES(BLUETOOTH, $COMMON_MODULES gnome-bluetooth-1.0 >= 3.18.2,
|
||||
[have_bluetooth=yes], have_bluetooth=no)
|
||||
|
|
|
@ -1220,11 +1220,9 @@ add_connection (CcNetworkPanel *panel,
|
|||
if (g_strcmp0 (type, "vpn") != 0 && iface == NULL)
|
||||
return;
|
||||
|
||||
#ifdef HAVE_NM_UNSTABLE
|
||||
/* Don't add the libvirtd bridge to the UI */
|
||||
if (g_strcmp0 (nm_setting_connection_get_interface_name (s_con), "virbr0") == 0)
|
||||
return;
|
||||
#endif
|
||||
|
||||
g_debug ("add %s/%s remote connection: %s",
|
||||
type, g_type_name_from_instance ((GTypeInstance*)connection),
|
||||
|
|
Loading…
Add table
Reference in a new issue