[mutter] monitor-manager: Remove debugging META_DEBUG_MULTIMONITOR hook



commit 2d6bcf38851cd5af7945180657f80ec411687d1e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Apr 21 19:31:24 2014 -0400

    monitor-manager: Remove debugging META_DEBUG_MULTIMONITOR hook
    
    It's outdated and incorrect: META_TYPE_MONITOR_MANAGER is now an
    abstract class.

 src/backends/meta-monitor-manager.c |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c
index 58f56e7..4a53c97 100644
--- a/src/backends/meta-monitor-manager.c
+++ b/src/backends/meta-monitor-manager.c
@@ -205,19 +205,7 @@ get_default_backend (void)
 static MetaMonitorManager *
 meta_monitor_manager_new (void)
 {
-  const char *env;
-  GType type;
-
-  env = g_getenv ("META_DEBUG_MULTIMONITOR");
-
-  if (env == NULL)
-    type = get_default_backend ();
-  else if (strcmp (env, "xrandr") == 0)
-    type = META_TYPE_MONITOR_MANAGER_XRANDR;
-  else
-    type = META_TYPE_MONITOR_MANAGER;
-
-  return g_object_new (type, NULL);
+  return g_object_new (get_default_backend (), NULL);
 }
 
 static void


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