Commit 4dca7871 authored by Cosimo Cecchi's avatar Cosimo Cecchi

image-properties: show error string when failing to open image

If we fail to open the image file for reading, make sure we still call
load_finished(), which will replace the loading string with an error
message in this case.

https://bugzilla.gnome.org/show_bug.cgi?id=679016
parent a7feea34
......@@ -545,6 +545,8 @@ file_open_callback (GObject *object,
page);
g_object_unref (stream);
} else {
load_finished (page);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment