| Index: chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc b/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc
|
| index d5a88871e5e5910e47f688e537145a82eb506371..4a4d0f7e1b00b900a986f52daf60dbcff2f05c1f 100644
|
| --- a/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc
|
| @@ -44,7 +44,7 @@ class HungRendererDialogGtk {
|
| // Create the gtk dialog and add the widgets.
|
| void Init();
|
|
|
| - CHROMEGTK_CALLBACK_1(HungRendererDialogGtk, void, OnDialogResponse, gint);
|
| + CHROMEGTK_CALLBACK_1(HungRendererDialogGtk, void, OnResponse, int);
|
|
|
| GtkDialog* dialog_;
|
| GtkListStore* model_;
|
| @@ -76,8 +76,7 @@ void HungRendererDialogGtk::Init() {
|
| GTK_RESPONSE_OK,
|
| NULL));
|
| gtk_dialog_set_default_response(dialog_, GTK_RESPONSE_OK);
|
| - g_signal_connect(dialog_, "response",
|
| - G_CALLBACK(OnDialogResponseThunk), this);
|
| + g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this);
|
|
|
| // We have an hbox with the frozen icon on the left. On the right,
|
| // we have a vbox with the unresponsive text on top and a table of
|
| @@ -182,8 +181,7 @@ void HungRendererDialogGtk::EndForTabContents(TabContents* contents) {
|
|
|
| // When the user clicks a button on the dialog or closes the dialog, this
|
| // callback is called.
|
| -void HungRendererDialogGtk::OnDialogResponse(GtkWidget* widget,
|
| - gint response_id) {
|
| +void HungRendererDialogGtk::OnResponse(GtkWidget* dialog, int response_id) {
|
| DCHECK(g_instance == this);
|
| switch (response_id) {
|
| case kKillPagesButtonResponse:
|
|
|