diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-22 19:39:08 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-22 19:39:08 +0000 |
commit | 74b9241c1734b73b48aff28710509ba810b65032 (patch) | |
tree | c4cc6ce5f305ec26b39d4243f6a6051f1bb0c715 /chrome/browser/platform_util_common_linux.cc | |
parent | 70037378d797aaa84ea6e07d17e72ee90856bb04 (diff) | |
download | chromium_src-74b9241c1734b73b48aff28710509ba810b65032.zip chromium_src-74b9241c1734b73b48aff28710509ba810b65032.tar.gz chromium_src-74b9241c1734b73b48aff28710509ba810b65032.tar.bz2 |
Reapplies r91761.
Now that the ARM bot is upgraded to have the same libgtk as all the other bots,
this shouldn't break the build.
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
can't replace because their accessor replacements were in 2.20 or later.
First Review URL: http://codereview.chromium.org/7227027
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7484035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93685 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/platform_util_common_linux.cc')
-rw-r--r-- | chrome/browser/platform_util_common_linux.cc | 2 |
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 1ebf003..718dc5f 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, |