Index: chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc |
diff --git a/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc b/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc |
index 537f9898fb2f3231b34b3f6342e99ac9870db611..08792d8b28beb0aa9755d0876afefa0bc33bab1c 100644 |
--- a/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc |
+++ b/chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc |
@@ -75,10 +75,10 @@ void ConfirmInfoBarGtk::AddButton(ConfirmInfoBarDelegate::InfoBarButton type) { |
gtk_size_group_add_widget(size_group_, button); |
gtk_util::CenterWidgetInHBox(confirm_hbox_, button, true, 0); |
- g_signal_connect(button, "clicked", |
- G_CALLBACK(type == ConfirmInfoBarDelegate::BUTTON_OK ? |
- OnOkButtonThunk : OnCancelButtonThunk), |
- this); |
+ Signals()->Connect(button, "clicked", |
+ G_CALLBACK(type == ConfirmInfoBarDelegate::BUTTON_OK ? |
+ OnOkButtonThunk : OnCancelButtonThunk), |
+ this); |
} |
} |