From 2d6bcf38851cd5af7945180657f80ec411687d1e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 21 Apr 2014 19:31:24 -0400 Subject: [PATCH] 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 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c index 58f56e7ae..4a53c97e5 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