Skip to content

Commit

Permalink
utils: Assume 64px as size when installing an icon tarball of unknown…
Browse files Browse the repository at this point in the history
… size

Resolves: #679
  • Loading branch information
ximion committed Dec 8, 2024
1 parent 8e87724 commit 3fe31cf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/as-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2627,12 +2627,8 @@ as_utils_install_metadata_file (AsMetadataLocation location,
}

if (icons_size_id == NULL) {
g_set_error_literal (
error,
AS_UTILS_ERROR,
AS_UTILS_ERROR_FAILED,
"Unable to find valid icon size in icon tarball name.");
return FALSE;
g_warning ("Unable to find valid icon size in icon tarball name, assuming 64x64px.");
icons_size_id = "64x64";
}

/* install icons if we know the origin name */
Expand Down

0 comments on commit 3fe31cf

Please sign in to comment.