[vala] Set correct default value for Pango.Weight



commit 8563f5561c1ed32f84dca414afd63f1a06288865
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Sat Oct 29 01:18:14 2011 +0200

    Set correct default value for Pango.Weight
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662974

 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 ad5d019..6b7d0a0 100644
--- a/vapi/packages/pango/pango.metadata
+++ b/vapi/packages/pango/pango.metadata
@@ -178,3 +178,4 @@ pango_parse_style.style is_out="1"
 pango_parse_variant.variant is_out="1"
 pango_parse_weight.weight is_out="1"
 PangoRectangle is_value_type="1"
+PangoWeight default_value="PANGO_WEIGHT_NORMAL"
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index cf7bee1..c22073c 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -796,7 +796,7 @@ namespace Pango {
 		NORMAL,
 		SMALL_CAPS
 	}
-	[CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_WEIGHT_")]
+	[CCode (cheader_filename = "pango/pango.h", cprefix = "PANGO_WEIGHT_", default_value = "PANGO_WEIGHT_NORMAL")]
 	public enum Weight {
 		THIN,
 		ULTRALIGHT,



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