Skip to content

Commit

Permalink
update Cairo compat to 1.18 since set_custom_metadata was added then
Browse files Browse the repository at this point in the history
  • Loading branch information
jwahlstrand committed Dec 24, 2024
1 parent c86d109 commit e851916
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Pango_jll = "36c8627f-9965-5494-a995-c6b170f724f3"

[compat]
Cairo_jll = "1.16"
Cairo_jll = "1.18"
Colors = "0.12, 0.13"
Glib_jll = "2.59.0"
Graphics = "1"
Expand Down
4 changes: 3 additions & 1 deletion src/constants.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ const STATUS_PNG_ERROR = Int32(38)
const STATUS_FREETYPE_ERROR = Int32(39)
const STATUS_WIN32_GDI_ERROR = Int32(40)
const STATUS_TAG_ERROR = Int32(41)
const STATUS_LAST_STATUS = Int32(42)
const STATUS_DWRITE_ERROR = Int32(42)
const STATUS_SVG_FONT_ERROR = Int32(43)
const STATUS_LAST_STATUS = Int32(44)

const surface_t = Int32
const CAIRO_SURFACE_TYPE_IMAGE = Int32(0)
Expand Down

0 comments on commit e851916

Please sign in to comment.