Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7940)

Unified Diff: chrome/common/chrome_paths_linux.cc

Issue 100046: More linux ifdef tweaks. This reverts my earlier change (13503).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | chrome/common/gfx/chrome_canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_paths_linux.cc
===================================================================
--- chrome/common/chrome_paths_linux.cc (revision 14606)
+++ chrome/common/chrome_paths_linux.cc (working copy)
@@ -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 @@
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))
« no previous file with comments | « build/common.gypi ('k') | chrome/common/gfx/chrome_canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698