summaryrefslogtreecommitdiff
path: root/unity-shared
diff options
authorEleni Maria Stea <elenimaria.stea@canonical.com>2014-02-07 18:31:54 +0200
committerEleni Maria Stea <elenimaria.stea@canonical.com>2014-02-07 18:31:54 +0200
commit6f2764ea810988c0fc3cb9715a97dd98db986018 (patch)
tree1b69fd57cf48c2650249b1d15d6895c11e18bb8d /unity-shared
parentfad086972bac5269c8268c3a69be3da31b317918 (diff)
fixed return statement (output_name is not a char* anymore)
(bzr r3643.1.4)
Diffstat (limited to 'unity-shared')
-rw-r--r--unity-shared/UScreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unity-shared/UScreen.cpp b/unity-shared/UScreen.cpp
index 288f050cf..c93f290f1 100644
--- a/unity-shared/UScreen.cpp
+++ b/unity-shared/UScreen.cpp
@@ -104,7 +104,7 @@ const std::string UScreen::GetMonitorName(int output_number) const
LOG_ERROR(logger) << "Failed to get monitor name";
}
- return std::string(output_name);
+ return output_name;
}
void UScreen::Changed(GdkScreen* screen)