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);
|
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,
|
void meta_monitor_manager_get_screen_size (MetaMonitorManager *manager,
|
||||||
int *width,
|
int *width,
|
||||||
int *height);
|
int *height);
|
||||||
|
@ -2409,32 +2409,6 @@ meta_monitor_manager_get_outputs (MetaMonitorManager *manager)
|
|||||||
return manager->outputs;
|
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
|
void
|
||||||
meta_monitor_manager_get_screen_size (MetaMonitorManager *manager,
|
meta_monitor_manager_get_screen_size (MetaMonitorManager *manager,
|
||||||
int *width,
|
int *width,
|
||||||
|
Loading…
Reference in New Issue
Block a user