[gdm: 29/70] Remove "#ifdef __sun" code as it was incorrect and not needed.



commit b824d9b4e89475b74f6ac277b43573c903cf84df
Author: Brian Cameron <brian cameron sun com>
Date:   Tue Feb 10 22:50:06 2009 +0000

    Remove "#ifdef __sun" code as it was incorrect and not needed.
    
    2009-02-10 Brian Cameron <brian cameron sun com>
    
            * daemon/gdm-session-worker.c: Remove "#ifdef __sun" code
            as it was incorrect and not needed.
    
    svn path=/trunk/; revision=6686
---
 ChangeLog                   |    7 ++++++-
 daemon/gdm-session-worker.c |    4 ----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4e138b8..025867a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,13 @@
+2009-02-10 Brian Cameron <brian cameron sun com>
+
+	* daemon/gdm-session-worker.c: Remove "#ifdef __sun" code
+	as it was incorrect and not needed.
+
 2009-02-01  Daniel Nylander <po danielnylander se>
 
 	* docs/sv/sv.po: Updated Swedish translation.
 
-2008-01-27 Brian Cameron <brian cameron sun com>
+2009-01-27 Brian Cameron <brian cameron sun com>
 
 	* utils/gdm-screenshot.c: Correct spelling of "screen".
 
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index 565420a..6761736 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -1000,11 +1000,7 @@ static char *
 _get_tty_for_pam (const char *x11_display_name,
                   const char *display_device)
 {
-#ifdef __sun
-        return g_strdup (display_device);
-#else
         return g_strdup (x11_display_name);
-#endif
 }
 
 #ifdef PAM_XAUTHDATA



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