summaryrefslogtreecommitdiffstats
path: root/chrome/browser/platform_util_common_linux.cc
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 21:50:29 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-07 21:50:29 +0000
commit5cf64e02dd0ef2246e23486135f15be219fcd9d9 (patch)
treee58e23954412201ae3b0532b83c318d7fa9615a3 /chrome/browser/platform_util_common_linux.cc
parent3a0b95ce671bf1c4ef7e4b790b24ee4fc5fe0065 (diff)
downloadchromium_src-5cf64e02dd0ef2246e23486135f15be219fcd9d9.zip
chromium_src-5cf64e02dd0ef2246e23486135f15be219fcd9d9.tar.gz
chromium_src-5cf64e02dd0ef2246e23486135f15be219fcd9d9.tar.bz2
GTK: More 2.18 goodness. Move from macros to real accessor functions.
This does not take care of everything! There are many deprecated macros that we can't replace because their accessor replacements were in 2.20 or later. BUG=none TEST=none Review URL: http://codereview.chromium.org/7227027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91761 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/platform_util_common_linux.cc')
-rw-r--r--chrome/browser/platform_util_common_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/platform_util_common_linux.cc b/chrome/browser/platform_util_common_linux.cc
index 8b8be92..47f9888 100644
--- a/chrome/browser/platform_util_common_linux.cc
+++ b/chrome/browser/platform_util_common_linux.cc
@@ -77,7 +77,7 @@ void ActivateWindow(gfx::NativeWindow window) {
}
bool IsVisible(gfx::NativeView view) {
- return GTK_WIDGET_VISIBLE(view);
+ return gtk_widget_get_visible(view);
}
void SimpleErrorBox(gfx::NativeWindow parent,