aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fiv-browser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fiv-browser.c b/fiv-browser.c
index 0ef212e..8296e67 100644
--- a/fiv-browser.c
+++ b/fiv-browser.c
@@ -465,6 +465,11 @@ on_thumbnailer_ready(GObject *object, GAsyncResult *res, gpointer user_data)
FivBrowser *self = FIV_BROWSER(user_data);
GError *error = NULL;
if (!g_subprocess_wait_check_finish(subprocess, res, &error)) {
+ if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
+ g_error_free(error);
+ return;
+ }
+
g_warning("%s", error->message);
g_error_free(error);
}