Handle delete event in mime_type_decision_cb

This commit is contained in:
Martin Natano 2012-04-10 22:33:26 +02:00 committed by Christian Dywan
parent 12d49e36c2
commit afd6b652c9

View file

@ -2963,6 +2963,7 @@ webkit_web_view_mime_type_decision_cb (GtkWidget* web_view,
webkit_web_policy_decision_download (decision); webkit_web_policy_decision_download (decision);
break; break;
case 2: case 2:
case GTK_RESPONSE_DELETE_EVENT:
webkit_web_policy_decision_ignore (decision); webkit_web_policy_decision_ignore (decision);
break; break;
default: default: