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

Unified Diff: ui/gfx/gtk_preserve_window.cc

Issue 7227027: GTK: More 2.18 goodness. Move from macros to real accessor functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove views/ Created 9 years, 5 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 | « chrome/browser/ui/login/login_prompt_gtk.cc ('k') | webkit/tools/test_shell/webwidget_host_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gtk_preserve_window.cc
diff --git a/ui/gfx/gtk_preserve_window.cc b/ui/gfx/gtk_preserve_window.cc
index b73046fc797620a1b709991402bda51316a8d68d..d67bc9230263b9701882b50af48c47201c280cf1 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);
« no previous file with comments | « chrome/browser/ui/login/login_prompt_gtk.cc ('k') | webkit/tools/test_shell/webwidget_host_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698