[pangomm/pangomm-2-46] LayoutRun: Make most methods public



commit dc8a0594429ed3fc91741f678319309ed555412f
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Sun Jan 17 18:52:50 2021 +0100

    LayoutRun: Make most methods public
    
    They became private by mistake 12 years ago in
    commit d5781fecebf7eeb5bafbfb875027f6f1707a2bf1.
    
    Fixes #11

 pango/src/layoutrun.hg | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pango/src/layoutrun.hg b/pango/src/layoutrun.hg
index 1f97f38..e75724d 100644
--- a/pango/src/layoutrun.hg
+++ b/pango/src/layoutrun.hg
@@ -45,6 +45,7 @@ class PANGOMM_API LayoutRun
   _CLASS_BOXEDTYPE(LayoutRun, PangoGlyphItem, NONE, pango_glyph_item_copy, pango_glyph_item_free, 
PANGOMM_API)
   _IGNORE(pango_glyph_item_free, pango_glyph_item_copy)
 
+public:
   // pango_glyph_item_split() returns a newly created PangoGlyphItem. Don't take a copy.
 #m4 _CONVERSION(`PangoGlyphItem*',`GlyphItem',`Glib::wrap($3)')
   _WRAP_METHOD(GlyphItem split(const Glib::ustring& text, int split_index), pango_glyph_item_split)


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