summaryrefslogtreecommitdiffstats
path: root/app/gtk_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/gtk_util.cc')
-rw-r--r--app/gtk_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/gtk_util.cc b/app/gtk_util.cc
index 63fa96a..98e5d48 100644
--- a/app/gtk_util.cc
+++ b/app/gtk_util.cc
@@ -7,7 +7,7 @@
#include <gtk/gtk.h>
#include "app/l10n_util.h"
-#include "base/env_var.h"
+#include "base/environment.h"
#include "base/logging.h"
#include "base/string_number_conversions.h"
#include "base/xdg_util.h"
@@ -77,7 +77,7 @@ void GetWidgetSizeFromCharacters(
void ApplyMessageDialogQuirks(GtkWidget* dialog) {
if (gtk_window_get_modal(GTK_WINDOW(dialog))) {
// Work around a KDE 3 window manager bug.
- scoped_ptr<base::EnvVarGetter> env(base::EnvVarGetter::Create());
+ scoped_ptr<base::Environment> env(base::Environment::Create());
if (base::DESKTOP_ENVIRONMENT_KDE3 == GetDesktopEnvironment(env.get()))
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(dialog), FALSE);
}