summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/bookmark_bar_gtk.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-06 19:22:23 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-06 19:22:23 +0000
commit6a3294658a85b4d0d1894d4f08af68a4cdf31bb0 (patch)
tree4b921333653c51253153a70fd9af2d29c04a21e3 /chrome/browser/gtk/bookmark_bar_gtk.cc
parenta263d56dd156e94f3453604d231e06a9bb1f537d (diff)
downloadchromium_src-6a3294658a85b4d0d1894d4f08af68a4cdf31bb0.zip
chromium_src-6a3294658a85b4d0d1894d4f08af68a4cdf31bb0.tar.gz
chromium_src-6a3294658a85b4d0d1894d4f08af68a4cdf31bb0.tar.bz2
Fix NULL vs 0 problems which break the build with -Werror using GCC 4.5
BUG=none TEST=try to compile with gcc 4.5 Patch by Benjamin Jemlich <pcgod99@gmail.com>. Review URL: http://codereview.chromium.org/2007003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/bookmark_bar_gtk.cc')
-rw-r--r--chrome/browser/gtk/bookmark_bar_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.cc b/chrome/browser/gtk/bookmark_bar_gtk.cc
index eed763f..89a48ae 100644
--- a/chrome/browser/gtk/bookmark_bar_gtk.cc
+++ b/chrome/browser/gtk/bookmark_bar_gtk.cc
@@ -679,7 +679,7 @@ void BookmarkBarGtk::UpdateFloatingState() {
if (floating_ && widget()->parent) {
// Only connect once.
if (g_signal_handler_find(widget()->parent, G_SIGNAL_MATCH_FUNC,
- 0, NULL, NULL, reinterpret_cast<gpointer>(OnParentSizeAllocateThunk),
+ 0, 0, NULL, reinterpret_cast<gpointer>(OnParentSizeAllocateThunk),
NULL) == 0) {
g_signal_connect(widget()->parent, "size-allocate",
G_CALLBACK(OnParentSizeAllocateThunk), this);