backends: Remave unused meta_monitor_manager_get_resources() API

This commit is contained in:
Jonas Ådahl 2017-10-03 14:21:13 -04:00
parent 9817a6aa47
commit a62e9f99a2
2 changed files with 0 additions and 34 deletions

View File

@ -362,14 +362,6 @@ GList * meta_monitor_manager_get_monitors (MetaMonitorManager *
GList * meta_monitor_manager_get_outputs (MetaMonitorManager *manager);
void meta_monitor_manager_get_resources (MetaMonitorManager *manager,
MetaCrtcMode **modes,
unsigned int *n_modes,
MetaCrtc **crtcs,
unsigned int *n_crtcs,
MetaOutput **outputs,
unsigned int *n_outputs);
void meta_monitor_manager_get_screen_size (MetaMonitorManager *manager,
int *width,
int *height);

View File

@ -2409,32 +2409,6 @@ meta_monitor_manager_get_outputs (MetaMonitorManager *manager)
return manager->outputs;
}
void
meta_monitor_manager_get_resources (MetaMonitorManager *manager,
MetaCrtcMode **modes,
unsigned int *n_modes,
MetaCrtc **crtcs,
unsigned int *n_crtcs,
MetaOutput **outputs,
unsigned int *n_outputs)
{
if (modes)
{
*modes = manager->modes;
*n_modes = manager->n_modes;
}
if (crtcs)
{
*crtcs = manager->crtcs;
*n_crtcs = manager->n_crtcs;
}
if (outputs)
{
*outputs = manager->outputs;
*n_outputs = manager->n_outputs;
}
}
void
meta_monitor_manager_get_screen_size (MetaMonitorManager *manager,
int *width,