mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
backends: Remave unused meta_monitor_manager_get_resources() API
This commit is contained in:
parent
9817a6aa47
commit
a62e9f99a2
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user