commit: fcf27a74966e9d68302c9ee7e5d6338ae21bd925
parent 4abd7044fda92b4d3dcb4774ff8d5f7772987b6a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 20 Apr 2021 09:08:24 +0200
downloads: Destroy stop_icon only in downloadCb_finished
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/downloads.c b/downloads.c
@@ -122,8 +122,6 @@ downloadCb_failed(WebKitDownload *webkit_download, GError *error, gpointer user_
gtk_label_set_text(GTK_LABEL(download->status), formatted);
- gtk_widget_destroy(download->stop_icon);
-
gtk_image_set_from_icon_name(
GTK_IMAGE(download->icon), "network-error-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR);
}