]> spindle.queued.net Git - midori/commitdiff
Properly reset Manage Search Engines dialog pointer
authorChristian Dywan <christian@twotoasts.de>
Fri, 17 Oct 2008 22:06:47 +0000 (00:06 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 17 Oct 2008 22:06:47 +0000 (00:06 +0200)
midori/midori-searchaction.c

index 8999c21bc276c226959d0f19366ce5cab284540e..465efa798db14972176efdf83c66e39e897fdf6b 100644 (file)
@@ -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),