diff options
| author | handsome_feng <445865575@qq.com> | 2015-10-23 17:09:01 +0800 | 
|---|---|---|
| committer | handsome_feng <445865575@qq.com> | 2015-10-23 17:09:01 +0800 | 
| commit | e6f8fcb1b055a91ad0896a6f27bbe1c0b92c99cf (patch) | |
| tree | 66295d17b97395814370e9f7bca7dc186355b109 /UnityCore | |
| parent | f31c087ac22c81a245c37d8d31ac04018e03f176 (diff) | |
used g_strcmp0 instead of strcmp, added two gtests
(bzr r4016.2.13)
Diffstat (limited to 'UnityCore')
| -rw-r--r-- | UnityCore/GnomeSessionManager.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/UnityCore/GnomeSessionManager.cpp b/UnityCore/GnomeSessionManager.cpp index fdf13a45f..f31dd0bab 100644 --- a/UnityCore/GnomeSessionManager.cpp +++ b/UnityCore/GnomeSessionManager.cpp @@ -536,7 +536,7 @@ std::string GnomeManager::Impl::UserIconFile()  return "";  } - return IconFile.GetString(); + return test_mode_?std::string("/usr/share/pixmaps/faces/fish.jpg") : IconFile.GetString();  }  bool GnomeManager::Impl::IsUserInGroup(std::string const& user_name, std::string const& group_name) | 
