[vala/0.54] pango: Cherry-pick bindings fixes from 0.56
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.54] pango: Cherry-pick bindings fixes from 0.56
- Date: Mon, 29 Nov 2021 11:43:30 +0000 (UTC)
commit 110216bd9563dd2307c45cc0bdff809b24bb1a1c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Nov 29 11:28:06 2021 +0100
pango: Cherry-pick bindings fixes from 0.56
vapi/pango.vapi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 800679405..30807fab6 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -244,8 +244,9 @@ namespace Pango {
[Version (since = "1.10")]
public virtual unowned Pango.FontMap? get_font_map ();
public virtual void get_glyph_extents (Pango.Glyph glyph, out Pango.Rectangle ink_rect, out
Pango.Rectangle logical_rect);
+ [CCode (array_length = false, array_null_terminated = true)]
[Version (since = "1.50")]
- public unowned Pango.Language? get_languages ();
+ public unowned Pango.Language[]? get_languages ();
public virtual Pango.FontMetrics get_metrics (Pango.Language? language);
[Version (since = "1.44")]
public bool has_char (unichar wc);
@@ -373,7 +374,7 @@ namespace Pango {
public class FontsetSimple : Pango.Fontset {
[CCode (has_construct_function = false)]
public FontsetSimple (Pango.Language language);
- public void append (Pango.Font font);
+ public void append (owned Pango.Font font);
public int size ();
}
[CCode (cheader_filename = "pango/pango.h", copy_function = "g_boxed_copy", free_function =
"g_boxed_free", type_id = "pango_glyph_item_get_type ()")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]