[pango/pango2-windows: 208/211] pangodwrite-fontmap.cpp: Fix build
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2-windows: 208/211] pangodwrite-fontmap.cpp: Fix build
- Date: Sat, 11 Jun 2022 04:21:38 +0000 (UTC)
commit 65781e75131ea5ccc0550dd1406baff789765d07
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 afde1a11..e446346e 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_TYPE (PangoDirectWriteFontMap, pango_direct_write_font_map, PANGO_TYPE_
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]