Skip to content

panels: Fix build with NetworkManager disabled

Maxim Britov requested to merge maxbritov/gnome-control-center:gnome-40 into gnome-40

Gentoo allows the user to disable NetworkManager integration at build time. We use the existing HAVE_NETWORK_MANAGER preprocessor macro to guard the uses of the mobile_switch_changed_cb and wifi_switch_changed_cb functions that guard their definitions.

Bug: https://bugs.gentoo.org/783144

Closes: #1335 (closed)

Edited by Maxim Britov

Merge request reports