[gthumb] do not try to apply color profile to modified images
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] do not try to apply color profile to modified images
- Date: Tue, 4 Jul 2017 16:00:15 +0000 (UTC)
commit 1c89334abe49813affbc4b969a17921312f8d1fc
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Jul 1 19:25:33 2017 +0200
do not try to apply color profile to modified images
extensions/image_viewer/gth-image-viewer-page.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/image_viewer/gth-image-viewer-page.c b/extensions/image_viewer/gth-image-viewer-page.c
index b19bc31..61796b8 100644
--- a/extensions/image_viewer/gth-image-viewer-page.c
+++ b/extensions/image_viewer/gth-image-viewer-page.c
@@ -286,7 +286,7 @@ _gth_image_viewer_page_load_with_preloader (GthImageViewerPage *self,
GAsyncReadyCallback callback,
gpointer user_data)
{
- if (self->priv->apply_icc_profile) {
+ if ((file_data != NULL) && self->priv->apply_icc_profile) {
char *monitor_name = NULL;
if (_gtk_window_get_monitor_info (GTK_WINDOW (self->priv->browser), NULL, NULL,
&monitor_name)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]