| Index: chrome/browser/autofill/autofill_dialog_gtk.cc
|
| diff --git a/chrome/browser/autofill/autofill_dialog_gtk.cc b/chrome/browser/autofill/autofill_dialog_gtk.cc
|
| index 0195014c503b9b1173351fbeaddc8a85df641bdd..6bcf897f1a0050bfdce05b62e5b5534bee33c1d9 100644
|
| --- a/chrome/browser/autofill/autofill_dialog_gtk.cc
|
| +++ b/chrome/browser/autofill/autofill_dialog_gtk.cc
|
| @@ -115,7 +115,7 @@ class AutoFillDialog : public PersonalDataManager::Observer,
|
| // data is available if the response is GTK_RESPONSE_APPLY or GTK_RESPONSE_OK.
|
| // We close the dialog if the response is GTK_RESPONSE_OK or
|
| // GTK_RESPONSE_CANCEL.
|
| - CHROMEG_CALLBACK_1(AutoFillDialog, void, OnResponse, GtkDialog*, gint);
|
| + CHROMEGTK_CALLBACK_1(AutoFillDialog, void, OnResponse, int);
|
|
|
| CHROMEGTK_CALLBACK_0(AutoFillDialog, void, OnAutoFillCheckToggled);
|
| CHROMEG_CALLBACK_2(AutoFillDialog, void, OnRowActivated, GtkTreeView*,
|
| @@ -252,11 +252,11 @@ void AutoFillDialog::OnDestroy(GtkWidget* widget) {
|
| MessageLoop::current()->DeleteSoon(FROM_HERE, this);
|
| }
|
|
|
| -void AutoFillDialog::OnResponse(GtkDialog* dialog, gint response_id) {
|
| +void AutoFillDialog::OnResponse(GtkWidget* dialog, int response_id) {
|
| if (response_id == GTK_RESPONSE_OK ||
|
| response_id == GTK_RESPONSE_CANCEL ||
|
| response_id == GTK_RESPONSE_DELETE_EVENT) {
|
| - gtk_widget_destroy(GTK_WIDGET(dialog));
|
| + gtk_widget_destroy(dialog);
|
| }
|
|
|
| if (response_id == kAutoFillDialogAboutLink)
|
|
|