Skip to content

Commit

Permalink
Build fix: the compress_string function must be taken from the new Zl…
Browse files Browse the repository at this point in the history
…ib2 module.
  • Loading branch information
carlonluca authored and ygrek committed Jul 29, 2024
1 parent ae2c650 commit 544d54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gtk2/gui/guiArt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ open Zlib

(* Return a pixbuf for a given svg data *)
let pixb icon_name pixel_size =
let svg = uncompress_string icon_name in
let svg = Zlib2.uncompress_string icon_name in
let z = float_of_int pixel_size /. 48. in
let size_cb = (Rsvg.at_zoom z z) in
let pb = Rsvg.render_from_string ~size_cb svg in
Expand Down

0 comments on commit 544d54a

Please sign in to comment.