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

Unified Diff: chrome/browser/ui/browser_list_gtk.cc

Issue 7329003: Revert 91761 - GTK: More 2.18 goodness. Move from macros to real accessor functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
Index: chrome/browser/ui/browser_list_gtk.cc
===================================================================
--- chrome/browser/ui/browser_list_gtk.cc (revision 91772)
+++ chrome/browser/ui/browser_list_gtk.cc (working copy)
@@ -18,7 +18,7 @@
// window or the toplevel associated with drop down windows crashes.
// We further filter to only close dialogs, as blindly closing all windows
// causes problems with things like status icons.
- if (gtk_widget_get_visible(GTK_WIDGET(window)) &&
+ if (GTK_WIDGET_VISIBLE(GTK_WIDGET(window)) &&
(GTK_IS_DIALOG(GTK_WIDGET(window))))
gtk_widget_destroy(GTK_WIDGET(window));
}
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_gtk.cc ('k') | chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698