summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths_linux.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 18:17:24 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 18:17:24 +0000
commite5cd46b27d3591663ba43428e4b2e2249bf9733e (patch)
tree0812842b1917d201e7610412d35d31c4d3c72c80 /chrome/common/chrome_paths_linux.cc
parente1a853a919b8011cec35b1ba6eb170e16f56391c (diff)
downloadchromium_src-e5cd46b27d3591663ba43428e4b2e2249bf9733e.zip
chromium_src-e5cd46b27d3591663ba43428e4b2e2249bf9733e.tar.gz
chromium_src-e5cd46b27d3591663ba43428e4b2e2249bf9733e.tar.bz2
More linux ifdef tweaks. This reverts my earlier change (13503).
BUG=none TEST=none Review URL: http://codereview.chromium.org/100046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_paths_linux.cc')
-rw-r--r--chrome/common/chrome_paths_linux.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/common/chrome_paths_linux.cc b/chrome/common/chrome_paths_linux.cc
index b1151c5..d3ce207 100644
--- a/chrome/common/chrome_paths_linux.cc
+++ b/chrome/common/chrome_paths_linux.cc
@@ -4,9 +4,7 @@
#include "chrome/common/chrome_paths_internal.h"
-#if defined(TOOLKIT_GTK)
#include <glib.h>
-#endif
#include <stdlib.h>
#include "base/file_path.h"
@@ -21,11 +19,9 @@ FilePath GetHomeDir() {
if (home_dir && home_dir[0])
return FilePath(home_dir);
-#if defined(TOOLKIT_GTK)
home_dir = g_get_home_dir();
if (home_dir && home_dir[0])
return FilePath(home_dir);
-#endif
FilePath rv;
if (PathService::Get(base::DIR_TEMP, &rv))