Skip to content

Commit

Permalink
tests/t_icc.c: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Ruiz committed Mar 27, 2023
1 parent 8a5ebeb commit e11fb34
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/t_icc.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,16 @@ test_webp_icc_output (guchar *buffer, gsize buf_size, const gchar *base64_string
}

void
test_webp_icc_read (const gchar *path) {
test_webp_icc_read (const gchar *path)
{
GError *error = NULL;

GdkPixbuf *icc_pixbuf = gdk_pixbuf_new_from_file (path, &error);
if (error)
g_error ("%s", error->message);
g_assert (icc_pixbuf != NULL);

const gchar* icc_option = gdk_pixbuf_get_option (icc_pixbuf, "icc-profile");
const gchar *icc_option = gdk_pixbuf_get_option (icc_pixbuf, "icc-profile");
g_assert (icc_option != NULL);
g_assert_cmpstr ("MQo=", ==, icc_option);

Expand Down

0 comments on commit e11fb34

Please sign in to comment.