[dconf] fix dconf_shmdir_from_environment



commit 02a27575681d95198e9ff2efca9f00e2f4563d37
Author: Marc-Antoine Perennou <Marc-Antoine Perennou com>
Date:   Mon Sep 12 23:48:26 2011 +0200

    fix dconf_shmdir_from_environment
    
    Signed-off-by: Marc-Antoine Perennou <Marc-Antoine Perennou com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658864

 common/dconf-shmdir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/common/dconf-shmdir.c b/common/dconf-shmdir.c
index eed90e5..839a487 100644
--- a/common/dconf-shmdir.c
+++ b/common/dconf-shmdir.c
@@ -28,7 +28,7 @@ dconf_shmdir_from_environment (void)
 
   result = g_build_filename (g_get_user_runtime_dir (), "dconf", NULL);
 
-  if (!g_mkdir_with_parents (result, 0700) != 0)
+  if (g_mkdir_with_parents (result, 0700) != 0)
     g_critical ("unable to create '%s'; dconf will not work properly.", result);
 
   return result;



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