| Index: chrome/browser/ui/gtk/keyword_editor_view.cc
|
| diff --git a/chrome/browser/ui/gtk/keyword_editor_view.cc b/chrome/browser/ui/gtk/keyword_editor_view.cc
|
| index c0a5acdcdd9e31e367eddc0e3fcf14b39cfe2edd..f1777d261f9192f5f29e684d035d3ea02fadb77b 100644
|
| --- a/chrome/browser/ui/gtk/keyword_editor_view.cc
|
| +++ b/chrome/browser/ui/gtk/keyword_editor_view.cc
|
| @@ -197,7 +197,7 @@ void KeywordEditorView::Init() {
|
|
|
| EnableControls();
|
|
|
| - g_signal_connect(dialog_, "response", G_CALLBACK(OnResponse), this);
|
| + g_signal_connect(dialog_, "response", G_CALLBACK(OnResponseThunk), this);
|
| g_signal_connect(dialog_, "destroy", G_CALLBACK(OnWindowDestroy), this);
|
| }
|
|
|
| @@ -396,10 +396,8 @@ void KeywordEditorView::OnWindowDestroy(GtkWidget* widget,
|
| MessageLoop::current()->DeleteSoon(FROM_HERE, window);
|
| }
|
|
|
| -// static
|
| -void KeywordEditorView::OnResponse(GtkDialog* dialog, int response_id,
|
| - KeywordEditorView* window) {
|
| - gtk_widget_destroy(window->dialog_);
|
| +void KeywordEditorView::OnResponse(GtkWidget* dialog, int response_id) {
|
| + gtk_widget_destroy(dialog_);
|
| }
|
|
|
| // static
|
|
|