summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/bookmark_bar_gtk.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-10 17:37:16 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-10 17:37:16 +0000
commit75e051cceb94aa5ccba321d325036841df8a0a3f (patch)
tree69551dae093c194a02d2e5a29e9fe9e6b16debef /chrome/browser/gtk/bookmark_bar_gtk.cc
parent0eb25f7fc32e838b5ea563014383a5348742e4b9 (diff)
downloadchromium_src-75e051cceb94aa5ccba321d325036841df8a0a3f.zip
chromium_src-75e051cceb94aa5ccba321d325036841df8a0a3f.tar.gz
chromium_src-75e051cceb94aa5ccba321d325036841df8a0a3f.tar.bz2
Fix gcc warnings when -Wall got re-enabled for Linux.
browser/gtk/bookmark_bar_gtk.cc: In static member function 'static gboolean BookmarkBarGtk::OnToolbarDragLeave(GtkToolbar*, GdkDragContext*, guint, BookmarkBarGtk*)': browser/gtk/bookmark_bar_gtk.cc:372: warning: control reaches end of non-void function /usr/local/google/chromium3/src/chrome/browser/gtk/tabs/tab_renderer_gtk.h: In constructor 'TabRendererGtk::TabRendererGtk()': /usr/local/google/chromium3/src/chrome/browser/gtk/tabs/tab_renderer_gtk.h:241: warning: 'TabRendererGtk::loading_animation_' will be initialized after /usr/local/google/chromium3/src/chrome/browser/gtk/tabs/tab_renderer_gtk.h:238: warning: 'TabRendererGtk::CloseButtonState TabRendererGtk::close_button_state_' browser/gtk/tabs/tab_renderer_gtk.cc:139: warning: when initialized here browser/gtk/tabs/tab_strip_gtk.cc: In member function 'GdkRegion* NewTabButton::MakeRegionForButton() const': browser/gtk/tabs/tab_strip_gtk.cc:152: warning: unused variable 'h' Review URL: http://codereview.chromium.org/67038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/bookmark_bar_gtk.cc')
-rw-r--r--chrome/browser/gtk/bookmark_bar_gtk.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.cc b/chrome/browser/gtk/bookmark_bar_gtk.cc
index 22cf7d42..59537cb 100644
--- a/chrome/browser/gtk/bookmark_bar_gtk.cc
+++ b/chrome/browser/gtk/bookmark_bar_gtk.cc
@@ -359,10 +359,10 @@ gboolean BookmarkBarGtk::OnToolbarDragMotion(GtkToolbar* toolbar,
}
// static
-gboolean BookmarkBarGtk::OnToolbarDragLeave(GtkToolbar* toolbar,
- GdkDragContext* context,
- guint time,
- BookmarkBarGtk* bar) {
+void BookmarkBarGtk::OnToolbarDragLeave(GtkToolbar* toolbar,
+ GdkDragContext* context,
+ guint time,
+ BookmarkBarGtk* bar) {
if (bar->toolbar_drop_item_) {
g_object_unref(bar->toolbar_drop_item_);
bar->toolbar_drop_item_ = NULL;