summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 19:39:08 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 19:39:08 +0000
commit74b9241c1734b73b48aff28710509ba810b65032 (patch)
treec4cc6ce5f305ec26b39d4243f6a6051f1bb0c715 /ui
parent70037378d797aaa84ea6e07d17e72ee90856bb04 (diff)
downloadchromium_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 'ui')
-rw-r--r--ui/gfx/gtk_preserve_window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/gtk_preserve_window.cc b/ui/gfx/gtk_preserve_window.cc
index b73046f..d67bc92 100644
--- a/ui/gfx/gtk_preserve_window.cc
+++ b/ui/gfx/gtk_preserve_window.cc
@@ -208,7 +208,7 @@ void gtk_preserve_window_size_allocate(GtkWidget* widget,
GList *children = GTK_FIXED(widget)->children;
while (children) {
GtkFixedChild *child = reinterpret_cast<GtkFixedChild*>(children->data);
- if (GTK_WIDGET_VISIBLE(child->widget)) {
+ if (gtk_widget_get_visible(child->widget)) {
GtkRequisition child_requisition;
gtk_widget_get_child_requisition(child->widget, &child_requisition);