From: Christian Dywan Date: Fri, 17 Oct 2008 22:06:47 +0000 (+0200) Subject: Properly reset Manage Search Engines dialog pointer X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa9becaf8350554a2a98345381f5bc6d9c818385;p=midori Properly reset Manage Search Engines dialog pointer --- 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),