[vala] pango: update to latest git



commit 24e0c89c26b44661c5938d840eb72e86bc64a569
Author: Evan Nemerson <evan nemerson com>
Date:   Thu May 8 14:32:57 2014 -0700

    pango: update to latest git

 vapi/metadata/Pango-1.0.metadata |    4 ----
 vapi/pango.vapi                  |    9 ++++++++-
 2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/vapi/metadata/Pango-1.0.metadata b/vapi/metadata/Pango-1.0.metadata
index 91d0961..7157cfe 100644
--- a/vapi/metadata/Pango-1.0.metadata
+++ b/vapi/metadata/Pango-1.0.metadata
@@ -55,10 +55,6 @@ Layout
 TabArray
   .new_with_positions skip=false
 
-// g-i uses _ScriptForLang intead of ScriptForLang.  There is a bug,
-// bug I can't find it right now.
-_ScriptForLang skip
-
 read_line
   .stream type="GLib.FileStream"
   .str out=false
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 8d704a1..e76e325 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -450,7 +450,7 @@ namespace Pango {
                public virtual void draw_trapezoid (Pango.RenderPart part, double y1_, double x11, double 
x21, double y2, double x12, double x22);
                [NoWrapper]
                public virtual void end ();
-               public Pango.Color? get_color (Pango.RenderPart part);
+               public unowned Pango.Color? get_color (Pango.RenderPart part);
                public unowned Pango.Layout get_layout ();
                public unowned Pango.LayoutLine get_layout_line ();
                public unowned Pango.Matrix? get_matrix ();
@@ -591,6 +591,13 @@ namespace Pango {
                public int width;
                public int height;
        }
+       [CCode (cheader_filename = "pango/pango.h", has_type_id = false)]
+       public struct ScriptForLang {
+               [CCode (array_length = false, array_null_terminated = true)]
+               public weak char[] lang;
+               [CCode (array_length = false, array_null_terminated = true)]
+               public weak Pango.Script[] scripts;
+       }
        [CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_ALIGN_", type_id = 
"pango_alignment_get_type ()")]
        public enum Alignment {
                LEFT,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]