diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c index b4de48780..c7074f9cd 100644 --- a/src/backends/meta-monitor-manager.c +++ b/src/backends/meta-monitor-manager.c @@ -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 diff --git a/src/meta/meta-monitor-manager.h b/src/meta/meta-monitor-manager.h index c7b05a614..3aa5df5c9 100644 --- a/src/meta/meta-monitor-manager.h +++ b/src/meta/meta-monitor-manager.h @@ -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);