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

Unified Diff: chrome/browser/ui/browser_list_gtk.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
Index: chrome/browser/ui/browser_list_gtk.cc
diff --git a/chrome/browser/ui/browser_list_gtk.cc b/chrome/browser/ui/browser_list_gtk.cc
index bb01d4df6190a1f60aacd82f165cb011d56b5be1..393434534a3b1f5c27a3aa28fff4ff58e7b8c873 100644
--- a/chrome/browser/ui/browser_list_gtk.cc
+++ b/chrome/browser/ui/browser_list_gtk.cc
@@ -18,7 +18,7 @@ void BrowserList::AllBrowsersClosedAndAppExiting() {
// 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_VISIBLE(GTK_WIDGET(window)) &&
+ if (gtk_widget_get_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