[vala/0.10] pango: fix ownership of GlyphItem.split return value
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] pango: fix ownership of GlyphItem.split return value
- Date: Thu, 23 Dec 2010 14:51:20 +0000 (UTC)
commit e31359a14cd99f4dc3f22fa860e1ed5521a989f2
Author: Evan Nemerson <evan coeus-group com>
Date: Mon Nov 1 20:24:30 2010 -0700
pango: fix ownership of GlyphItem.split return value
vapi/packages/pango/pango.metadata | 1 +
vapi/pango.vapi | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/packages/pango/pango.metadata b/vapi/packages/pango/pango.metadata
index 76efe5b..7e9b43b 100644
--- a/vapi/packages/pango/pango.metadata
+++ b/vapi/packages/pango/pango.metadata
@@ -67,6 +67,7 @@ PangoFontDescription is_immutable="1"
pango_font_description_from_string transfer_ownership="1"
PangoGlyphInfo is_value_type="1"
pango_glyph_item_letter_space.log_attrs is_array="1"
+pango_glyph_item_split transfer_ownership="1"
PangoGlyphItemIter is_value_type="1"
PangoGlyphGeometry is_value_type="1"
pango_glyph_string_extents.ink_rect is_out="1"
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 2fd1642..48ec293 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -267,7 +267,7 @@ namespace Pango {
public Pango.GlyphItem copy ();
public void get_logical_widths (string text, int logical_widths);
public void letter_space (string text, Pango.LogAttr[] log_attrs, int letter_spacing);
- public unowned Pango.GlyphItem split (string text, int split_index);
+ public Pango.GlyphItem split (string text, int split_index);
}
[Compact]
[CCode (copy_function = "pango_glyph_string_copy", type_id = "PANGO_TYPE_GLYPH_STRING", cheader_filename = "pango/pango.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]