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

Unified Diff: chrome/browser/ui/gtk/download/download_shelf_gtk.cc

Issue 9147044: GTK: More GSEALing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: gtk compat fix Created 8 years, 11 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/gtk/download/download_shelf_gtk.cc
diff --git a/chrome/browser/ui/gtk/download/download_shelf_gtk.cc b/chrome/browser/ui/gtk/download/download_shelf_gtk.cc
index 2ed9a4e0bb147cee4ae6bdd27987bb66c87f1482..a67fe82a80bcfca8546b8f97d1bf3bdb85808eed 100644
--- a/chrome/browser/ui/gtk/download/download_shelf_gtk.cc
+++ b/chrome/browser/ui/gtk/download/download_shelf_gtk.cc
@@ -195,7 +195,7 @@ void DownloadShelfGtk::Show() {
void DownloadShelfGtk::Close() {
// When we are closing, we can vertically overlap the render view. Make sure
// we are on top.
- gdk_window_raise(shelf_.get()->window);
+ gdk_window_raise(gtk_widget_get_window(shelf_.get()));
slide_widget_->Close();
browser_->UpdateDownloadShelfVisibility(false);
int num_in_progress = 0;

Powered by Google App Engine
This is Rietveld 408576698