From fa9becaf8350554a2a98345381f5bc6d9c818385 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 18 Oct 2008 00:06:47 +0200 Subject: [PATCH] Properly reset Manage Search Engines dialog pointer --- midori/midori-searchaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-searchaction.c b/midori/midori-searchaction.c index 8999c21b..465efa79 100644 --- a/midori/midori-searchaction.c +++ b/midori/midori-searchaction.c @@ -1044,7 +1044,7 @@ midori_search_action_get_dialog (MidoriSearchAction* search_action) GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL); g_signal_connect (dialog, "destroy", - G_CALLBACK (gtk_widget_destroyed), &dialog); + G_CALLBACK (gtk_widget_destroyed), &search_action->dialog); gtk_window_set_icon_name (GTK_WINDOW (dialog), GTK_STOCK_PROPERTIES); /* TODO: Implement some kind of help function */ gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), -- 2.39.5