[pangomm] Make enum Weight implicitly convertible to int
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm] Make enum Weight implicitly convertible to int
- Date: Sun, 11 Jun 2017 11:08:00 +0000 (UTC)
commit d44a670fb38e3a41e1cd7be4cdaed6fe27fe72f9
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sun Jun 11 13:06:14 2017 +0200
Make enum Weight implicitly convertible to int
Add CONV_TO_INT to _WRAP_ENUM. Bug 86864
pango/src/fontdescription.hg | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/pango/src/fontdescription.hg b/pango/src/fontdescription.hg
index 4a8a896..88cb716 100644
--- a/pango/src/fontdescription.hg
+++ b/pango/src/fontdescription.hg
@@ -1,5 +1,3 @@
-/* $Id: fontdescription.hg,v 1.2 2006/06/08 20:39:39 murrayc Exp $ */
-
/* fontdescription.h
*
* Copyright (C) 1998-2002 The gtkmm Development Team
@@ -31,7 +29,7 @@ _CC_INCLUDE(pango/pango-enum-types.h)
_WRAP_ENUM(Style, PangoStyle)
_WRAP_ENUM(Variant, PangoVariant)
_WRAP_ENUM(Stretch, PangoStretch)
-_WRAP_ENUM(Weight, PangoWeight)
+_WRAP_ENUM(Weight, PangoWeight, CONV_TO_INT)
_WRAP_ENUM(FontMask, PangoFontMask)
_WRAP_ENUM(Gravity, PangoGravity)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]