diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 18:30:39 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 18:30:39 +0000 |
commit | 3171a5f58cc8ddc33eeef2d597fc80a8b214d3cc (patch) | |
tree | 1b07fa92b5540f56c1e8a98f7be7882f10e4deef /chrome/browser/gtk/options/content_page_gtk.cc | |
parent | 94d2135c70fc622226a72fd970ed1d3dd0428b6d (diff) | |
download | chromium_src-3171a5f58cc8ddc33eeef2d597fc80a8b214d3cc.zip chromium_src-3171a5f58cc8ddc33eeef2d597fc80a8b214d3cc.tar.gz chromium_src-3171a5f58cc8ddc33eeef2d597fc80a8b214d3cc.tar.bz2 |
GTK: more signal handler foolproofing.
BUG=40735
TEST=manual clicking about, trybots
Review URL: http://codereview.chromium.org/1783010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/options/content_page_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/options/content_page_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/options/content_page_gtk.cc b/chrome/browser/gtk/options/content_page_gtk.cc index 22a635e..3b92201 100644 --- a/chrome/browser/gtk/options/content_page_gtk.cc +++ b/chrome/browser/gtk/options/content_page_gtk.cc @@ -45,8 +45,8 @@ void OnLabelAllocate(GtkWidget* label, GtkAllocation* allocation) { // Disconnect ourselves. Repeatedly resizing based on allocation causes // the dialog to become unshrinkable. - g_signal_handlers_disconnect_by_func(label, (void*)OnLabelAllocate, - NULL); + g_signal_handlers_disconnect_by_func( + label, reinterpret_cast<gpointer>(OnLabelAllocate), NULL); } // Set the label to use a request size equal to its initial allocation |