summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vapi/metadata/Pango-1.0-custom.vala5
-rw-r--r--vapi/pango.vapi2
2 files changed, 6 insertions, 1 deletions
diff --git a/vapi/metadata/Pango-1.0-custom.vala b/vapi/metadata/Pango-1.0-custom.vala
index b620352f8..d76376cb1 100644
--- a/vapi/metadata/Pango-1.0-custom.vala
+++ b/vapi/metadata/Pango-1.0-custom.vala
@@ -46,6 +46,11 @@ namespace Pango {
public AttrSize (int size);
}
+ [CCode (cheader_filename = "pango/pango.h", free_function = "pango_attribute_destroy")]
+ [Compact]
+ public class Attribute {
+ }
+
[CCode (cheader_filename = "pango/pango.h", ref_function = "pango_coverage_ref", unref_function = "pango_coverage_unref")]
[Compact]
public class Coverage {
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 9e1c65e97..d245976c8 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -107,7 +107,7 @@ namespace Pango {
public class AttrString : Pango.Attribute {
public weak string value;
}
- [CCode (cheader_filename = "pango/pango.h")]
+ [CCode (cheader_filename = "pango/pango.h", free_function = "pango_attribute_destroy")]
[Compact]
public class Attribute {
public uint end_index;