[mutter] backends: Remave unused meta_monitor_manager_get_resources() API



commit a62e9f99a2e49c0668d7ee7d3a54c131ba07ab1b
Author: Jonas Ådahl <jadahl gmail com>
Date:   Tue Oct 3 14:21:13 2017 -0400

    backends: Remave unused meta_monitor_manager_get_resources() API

 src/backends/meta-monitor-manager-private.h |    8 --------
 src/backends/meta-monitor-manager.c         |   26 --------------------------
 2 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/src/backends/meta-monitor-manager-private.h b/src/backends/meta-monitor-manager-private.h
index 3bf8864..5ac683d 100644
--- a/src/backends/meta-monitor-manager-private.h
+++ b/src/backends/meta-monitor-manager-private.h
@@ -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);
diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c
index 82b50e0..c944733 100644
--- a/src/backends/meta-monitor-manager.c
+++ b/src/backends/meta-monitor-manager.c
@@ -2410,32 +2410,6 @@ 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)
-{
-  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,
                                       int                *height)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]