[pango/pango2-windows: 127/130] pangodwrite-fontmap.cpp: Fix build




commit f1329cdb81d3d0d165c72ca7d7fe09f35253fbac
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Jun 9 16:01:56 2022 +0800

    pangodwrite-fontmap.cpp: Fix build
    
    Fix the build caused by the fallout due to recent renaming.

 pango/pangodwrite-fontmap.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pango/pangodwrite-fontmap.cpp b/pango/pangodwrite-fontmap.cpp
index ad4f8e69e..7ee0b9cf0 100644
--- a/pango/pangodwrite-fontmap.cpp
+++ b/pango/pangodwrite-fontmap.cpp
@@ -29,7 +29,7 @@
 
 #include "pangodwrite-fontmap.h"
 #include "pango-hbfamily-private.h"
-#include "pango-hbfontmap-private.h"
+#include "pango-fontmap-private.h"
 #include "pango-hbface-private.h"
 #include "pango-hbfont-private.h"
 #include "pango-context.h"
@@ -341,7 +341,7 @@ G_DEFINE_FINAL_TYPE (PangoDirectWriteFontMap, pango_direct_write_font_map, PANGO
 static void
 pango_direct_write_font_map_init (PangoDirectWriteFontMap *self)
 {
-  pango_font_map_repopulate (PANGO_FONT_MAP (map), TRUE);
+  pango_font_map_repopulate (PANGO_FONT_MAP (self), TRUE);
 }
 
 static void
@@ -374,7 +374,7 @@ pango_direct_write_font_map_class_init (PangoDirectWriteFontMapClass *class_)
 PangoDirectWriteFontMap *
 pango_direct_write_font_map_new (void)
 {
-  return (PangoDirectWriteHbFontMap *)
+  return (PangoDirectWriteFontMap *)
       g_object_new (PANGO_TYPE_DIRECT_WRITE_FONT_MAP, NULL);
 }
 


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