monitor-manager: Don't introspect "monitor-privacy-screen-changed"

It passes a MetaLogicalMonitor, which isn't introspected right now, so
skip it completely. The entry point to the UI is handled via
MetaDisplay, so it isn't needed.

This fixes the following warning:

<unknown>:: Warning: Meta: (Signal)monitor-privacy-screen-changed: argument object: Unresolved type: 'MetaLogicalMonitor'

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2287>
This commit is contained in:
Jonas Ådahl 2022-02-14 09:43:31 +01:00 committed by Marge Bot
parent 2a624dbd1e
commit ca5488c3d6

View File

@ -1369,6 +1369,13 @@ meta_monitor_manager_class_init (MetaMonitorManagerClass *klass)
NULL, NULL, NULL,
G_TYPE_NONE, 0);
/**
* MetaMonitorManager::monitor-privacy-screen-changed: (skip)
* @monitor_manager: The #MetaMonitorManager
* @logical_monitor: The #MetaLogicalMonitor where the privacy screen state
* changed
* @enabled: %TRUE if the privacy screen was enabled, otherwise %FALSE
*/
signals[MONITOR_PRIVACY_SCREEN_CHANGED] =
g_signal_new ("monitor-privacy-screen-changed",
G_TYPE_FROM_CLASS (object_class),