mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
meta: Remove meta_monitor_manager_get()
It has no more users and shouldn't be used. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2718>
This commit is contained in:
parent
82abee5ad7
commit
aa2a663380
@ -3102,21 +3102,6 @@ initialize_dbus_interface (MetaMonitorManager *manager)
|
||||
g_object_unref);
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_monitor_manager_get:
|
||||
*
|
||||
* Accessor for the singleton MetaMonitorManager.
|
||||
*
|
||||
* Returns: (transfer none): The only #MetaMonitorManager there is.
|
||||
*/
|
||||
MetaMonitorManager *
|
||||
meta_monitor_manager_get (void)
|
||||
{
|
||||
MetaBackend *backend = meta_get_backend ();
|
||||
|
||||
return meta_backend_get_monitor_manager (backend);
|
||||
}
|
||||
|
||||
/**
|
||||
* meta_monitor_manager_get_num_logical_monitors:
|
||||
* @manager: A #MetaMonitorManager object
|
||||
|
@ -39,9 +39,6 @@ typedef struct _MetaMonitorManager MetaMonitorManager;
|
||||
META_EXPORT
|
||||
GType meta_monitor_manager_get_type (void);
|
||||
|
||||
META_EXPORT
|
||||
MetaMonitorManager *meta_monitor_manager_get (void);
|
||||
|
||||
META_EXPORT
|
||||
gint meta_monitor_manager_get_monitor_for_connector (MetaMonitorManager *manager,
|
||||
const char *connector);
|
||||
|
Loading…
Reference in New Issue
Block a user