summaryrefslogtreecommitdiff
path: root/shell/source/backends/gconfbe/gconfbackend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/backends/gconfbe/gconfbackend.cxx')
-rw-r--r--shell/source/backends/gconfbe/gconfbackend.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/source/backends/gconfbe/gconfbackend.cxx b/shell/source/backends/gconfbe/gconfbackend.cxx
index ac5e93635fca..57a1a4e198a6 100644
--- a/shell/source/backends/gconfbe/gconfbackend.cxx
+++ b/shell/source/backends/gconfbe/gconfbackend.cxx
@@ -165,9 +165,7 @@ Service::Service(): enabled_(false) {
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("system.desktop-environment"))) >>=
desktop;
- enabled_ = desktop.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("GNOME")) &&
- ((orbit_major_version == 2 && orbit_minor_version >= 8) ||
- orbit_major_version > 2);
+ enabled_ = desktop == "GNOME" && ((orbit_major_version == 2 && orbit_minor_version >= 8) || orbit_major_version > 2);
// ORBit-2 versions < 2.8 cause a deadlock with the gtk+ VCL plugin
}
}