monitor-manager: Use connect_object to connect to settings signals

We were disconnecting from the wrong object, so instead of adjusting it
we can simply use "new" utility functions instead.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1964>
This commit is contained in:
Marco Trevisan (Treviño)
2021-03-19 15:39:35 +01:00
committed by Marge Bot
parent 16e335eb24
commit ef0f708404
2 changed files with 4 additions and 10 deletions

View File

@ -148,8 +148,6 @@ struct _MetaMonitorManager
GnomePnpIds *pnp_ids;
gulong experimental_features_changed_handler_id;
MetaMonitorSwitchConfigType current_switch_config;
};