mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 01:05:33 +00:00
Fix crash when accessing Pango.FontFamily.Faces
This is similar to the fix for FontFamily in #35, and adds metadata for the parent class. Without this, I found that the conversion to GObject failed in GLib.Object.GetObject and the pointer was deleted, corrupting memory for the next call. Fixes: #159
This commit is contained in:
parent
cc3d359b33
commit
ca7ed79e77
|
@ -101,7 +101,9 @@
|
|||
<attr path="/api/namespace/struct[@cname='PangoScriptIter']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/struct[@cname='PangoWin32FontCache']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/*[@cname='PangoWin32Family']" name="parent">PangoFontFamily</attr>
|
||||
<attr path="/api/namespace/*[@cname='PangoWin32Face']" name="parent">PangoFontFace</attr>
|
||||
<attr path="/api/namespace/*[@cname='PangoCoreTextFamily']" name="parent">PangoFontFamily</attr>
|
||||
<attr path="/api/namespace/*[@cname='PangoCoreTextFace']" name="parent">PangoFontFace</attr>
|
||||
<move-node path="/api/namespace/class[@name='Version']/method[@cname='pango_version_check']">/api/namespace/class[@name='Global']</move-node>
|
||||
<move-node path="/api/namespace/class[@name='Version']/method[@cname='pango_version_string']">/api/namespace/class[@name='Global']</move-node>
|
||||
</metadata>
|
||||
|
|
Loading…
Reference in a new issue