summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/options/content_page_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/options/content_page_gtk.cc')
-rw-r--r--chrome/browser/gtk/options/content_page_gtk.cc4
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