summaryrefslogtreecommitdiffstats
path: root/base/linux_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/linux_util.cc')
-rw-r--r--base/linux_util.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/base/linux_util.cc b/base/linux_util.cc
index d8b36ed..604980b 100644
--- a/base/linux_util.cc
+++ b/base/linux_util.cc
@@ -59,14 +59,4 @@ std::string GetLinuxDistro() {
return linux_distro;
}
-bool UseGnomeForSettings() {
- // GNOME_DESKTOP_SESSION_ID being defined is a good indication that
- // we are probably running under GNOME.
- // Note: KDE_FULL_SESSION is a corresponding env var to recognize KDE.
- char* desktop_session;
- return (getenv("GNOME_DESKTOP_SESSION_ID") ||
- ((desktop_session = getenv("DESKTOP_SESSION")) &&
- std::string(desktop_session) == "gnome"));
-}
-
} // namespace base