[pangomm/pangomm-2-42.meson-msvc: 6/10] pango/src/color.hg: Fix call to _CLASS_BOXEDTYPE_STATIC



commit 963ea1e1be0b1111db7afd0ef43469b2250d1735
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Mar 10 16:49:25 2020 +0800

    pango/src/color.hg: Fix call to _CLASS_BOXEDTYPE_STATIC
    
    Remove all the parameters after the second one, they were originally ignored
    as _CLASS_BOXEDTYPE_STATIC accepted 2 arguments and will cause issues with
    the new api_decoration stuff that was recently added to glibmm, which was the
    third argument

 pango/src/color.hg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango/src/color.hg b/pango/src/color.hg
index f39a6c7..429b929 100644
--- a/pango/src/color.hg
+++ b/pango/src/color.hg
@@ -28,7 +28,7 @@ namespace Pango
  */
 class Color
 {
-  _CLASS_BOXEDTYPE_STATIC(Color, PangoColor, _pango_color_new, pango_color_copy, pango_color_free)
+  _CLASS_BOXEDTYPE_STATIC(Color, PangoColor)
   _IGNORE(pango_color_copy, pango_color_free)
 
 public:


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