[gdm] gdm-launch-environment: Remove duplicate DISPLAY set



commit e6c051196162289571bead05de1a0ad8c4ed634a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Feb 25 09:32:15 2014 -0500

    gdm-launch-environment: Remove duplicate DISPLAY set
    
    GdmSession already sets this when setting up the environment.

 daemon/gdm-launch-environment.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index 932cc06..6ec0e64 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -252,7 +252,6 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
         g_free (system_data_dirs);
 
         g_hash_table_insert (hash, g_strdup ("XAUTHORITY"), g_strdup 
(launch_environment->priv->x11_authority_file));
-        g_hash_table_insert (hash, g_strdup ("DISPLAY"), g_strdup 
(launch_environment->priv->x11_display_name));
 
         g_hash_table_insert (hash, g_strdup ("LOGNAME"), g_strdup (launch_environment->priv->user_name));
         g_hash_table_insert (hash, g_strdup ("USER"), g_strdup (launch_environment->priv->user_name));


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