aboutsummaryrefslogtreecommitdiff
path: root/fiv-view.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-04-06 20:41:06 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-04-06 23:56:47 +0200
commite57364cd979a9f57f08c023621b999eddd379a45 (patch)
tree39c6fac745f1b3e0d9bea62b7749322068f7886e /fiv-view.c
parent7330f07dd763237b2cf22ee23528cc55541428f0 (diff)
downloadfiv-e57364cd979a9f57f08c023621b999eddd379a45.tar.gz
fiv-e57364cd979a9f57f08c023621b999eddd379a45.tar.xz
fiv-e57364cd979a9f57f08c023621b999eddd379a45.zip
Fix openSUSE 15.5 and Win32 builds
Diffstat (limited to 'fiv-view.c')
-rw-r--r--fiv-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fiv-view.c b/fiv-view.c
index fb01b3a..f0cd577 100644
--- a/fiv-view.c
+++ b/fiv-view.c
@@ -646,7 +646,8 @@ reload_screen_cms_profile(FivView *self, GdkWindow *window)
gchar *data = NULL;
gsize length = 0;
if (g_file_get_contents(path, &data, &length, NULL))
- self->screen_cms_profile = fiv_io_profile_new(data, length);
+ self->screen_cms_profile = fiv_io_cmm_get_profile(
+ fiv_io_cmm_get_default(), data, length);
g_free(data);
}
g_free(path);