summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2014-10-01 04:30:09 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2014-10-01 04:30:09 +0200
commit044a82559e2488f63e1291f0a9826a0920336eb9 (patch)
tree1e33f519198ebd6ece2043a46d419ec89ef6765e /unity-shared
parent83762aeb0cf12e02087c0209cd68c50255147dc1 (diff)
XWindowManager: properly log error
(bzr r3806.12.22)
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/XWindowManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unity-shared/XWindowManager.cpp b/unity-shared/XWindowManager.cpp
index aa3d9c54f..5058c2952 100644
--- a/unity-shared/XWindowManager.cpp
+++ b/unity-shared/XWindowManager.cpp
@@ -83,7 +83,7 @@ std::string XWindowManager::GetStringProperty(Window window_id, Atom atom) const
{
LOG_ERROR(logger) << "Impossible to get the property " << gdk_x11_get_xatom_name(atom)
<< " for window " << window_id << ": invalid string type: "
- << gdk_x11_get_xatom_name(Atoms::utf8String);
+ << gdk_x11_get_xatom_name(type);
return std::string();
}