diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-09 22:51:41 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-09 22:51:41 +0000 |
commit | 0ac8fce3591b1a72231c83827811aacd43121089 (patch) | |
tree | ed0cead7153d82a10d7f89ad255f43ac908fefdc /chrome/browser/gtk/download_shelf_gtk.cc | |
parent | 6aa9349ef5c1110d9c096945840e6a105e8a8295 (diff) | |
download | chromium_src-0ac8fce3591b1a72231c83827811aacd43121089.zip chromium_src-0ac8fce3591b1a72231c83827811aacd43121089.tar.gz chromium_src-0ac8fce3591b1a72231c83827811aacd43121089.tar.bz2 |
Restore -Wall to Linux build and set up for -Werror.
* Add -Wall to build/common.gypi (and -Werror, commented out for now).
* Have build/external_code.gypi remove -Wall (and -Werror).
* Remove chromium_code definition from build/all.gyp.
* Remove chromium_code definitions from third_party/ *.gyp files.
* Remove scons-specific -Werror removal in webkit.gyp.
* Remove unused variables from:
base/clipboard_linux.cc
chrome/browser/gtk/download_shelf_gtk.cc
chrome/browser/gtk/bookmark_bar_gtk.cc
Review URL: http://codereview.chromium.org/66001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13478 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/download_shelf_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/download_shelf_gtk.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/gtk/download_shelf_gtk.cc b/chrome/browser/gtk/download_shelf_gtk.cc index 1d2cb2b..9ba9f4a 100644 --- a/chrome/browser/gtk/download_shelf_gtk.cc +++ b/chrome/browser/gtk/download_shelf_gtk.cc @@ -130,15 +130,13 @@ DownloadShelfGtk::DownloadShelfGtk(TabContents* tab_contents) gtk_box_pack_start(GTK_BOX(shelf_), padding_bg, FALSE, FALSE, 0); // Create and pack the close button. - GtkWidget* centering_vbox_; close_button_.reset(CustomDrawButton::AddBarCloseButton(hbox_)); g_signal_connect(G_OBJECT(close_button_->widget()), "clicked", G_CALLBACK(OnButtonClick), this); // Create and pack the "Show all downloads..." link. // TODO(estade): there are some pixels above and below the link that - // can be clicked. I tried to fix this with a vbox (akin to |centering_vbox| - // above), but no dice. + // can be clicked. I tried to fix this with a vbox, but no dice. GtkWidget* link_box; GtkWidget* link_button; std::string link_text = |