[gdm] daemon: fix code style in previous commit



commit fa0472f84707e9f2eb12261b99bd8941099bba5a
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Jan 5 18:05:47 2016 -0600

    daemon: fix code style in previous commit
    
    Ray asked me to change this on Bugzilla, but I didn't look at Bugzilla
    before I pushed it.

 daemon/gdm-launch-environment.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index 89455f6..556a919 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -159,7 +159,7 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
                 g_hash_table_insert (hash, g_strdup ("GNOME_SHELL_SESSION_MODE"), g_strdup 
(launch_environment->priv->session_mode));
 
         /* Inital setup needs gvfs for fetching remote avatars. */
-        if (strcmp (launch_environment->priv->session_mode, INITIAL_SETUP_SESSION_MODE)) {
+        if (strcmp (launch_environment->priv->session_mode, INITIAL_SETUP_SESSION_MODE) != 0) {
                 g_hash_table_insert (hash, g_strdup ("GVFS_DISABLE_FUSE"), g_strdup ("1"));
                 g_hash_table_insert (hash, g_strdup ("GIO_USE_VFS"), g_strdup ("local"));
                 g_hash_table_insert (hash, g_strdup ("GVFS_REMOTE_VOLUME_MONITOR_IGNORE"), g_strdup ("1"));


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