Index: chrome/browser/gtk/options/content_page_gtk.cc |
diff --git a/chrome/browser/gtk/options/content_page_gtk.cc b/chrome/browser/gtk/options/content_page_gtk.cc |
index 22a635e7060f7a134c9a65f30f1b3c733e88ef0f..3b9220187d1b254adb6ab12926b597b584ebb3b4 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 |