[vala/0.14] Set correct default value for Pango.Weight
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.14] Set correct default value for Pango.Weight
- Date: Tue, 31 Jan 2012 13:14:47 +0000 (UTC)
commit 56546103526e79364c7f33a9d77fe87dcfcc85e1
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]