Skip to content

Gio: Add overrides for File.set_attribute and FileInfo.set_attribute

Philip Chimento requested to merge ptomato/gjs:496-set-attribute into master

These functions can crash if used from JS, because they take a raw pointer. Add an override that calls the appropriate type-safe method instead, on a best-effort basis; not all of these exist. In any case, the crashes should be prevented.

Closes: #496 (closed)

Merge request reports