mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -05:00
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:
parent
2a624dbd1e
commit
ca5488c3d6
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user