mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -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);
|
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:
|
* meta_monitor_manager_get_num_logical_monitors:
|
||||||
* @manager: A #MetaMonitorManager object
|
* @manager: A #MetaMonitorManager object
|
||||||
|
@ -39,9 +39,6 @@ typedef struct _MetaMonitorManager MetaMonitorManager;
|
|||||||
META_EXPORT
|
META_EXPORT
|
||||||
GType meta_monitor_manager_get_type (void);
|
GType meta_monitor_manager_get_type (void);
|
||||||
|
|
||||||
META_EXPORT
|
|
||||||
MetaMonitorManager *meta_monitor_manager_get (void);
|
|
||||||
|
|
||||||
META_EXPORT
|
META_EXPORT
|
||||||
gint meta_monitor_manager_get_monitor_for_connector (MetaMonitorManager *manager,
|
gint meta_monitor_manager_get_monitor_for_connector (MetaMonitorManager *manager,
|
||||||
const char *connector);
|
const char *connector);
|
||||||
|
Loading…
Reference in New Issue
Block a user