summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2021-08-28 03:14:47 +0200
committerKhaled Hosny <khaled@aliftype.com>2021-08-28 03:14:47 +0200
commit9c2c7e994bedf0a87c434eeaa5ba9d296453203b (patch)
tree0f1fc19e139c5507d3d1ad41574f9e59e42c75a9
parent71dfed1e27e98e84bfd78370f2726ad3aca4545c (diff)
downloadpango-9c2c7e994bedf0a87c434eeaa5ba9d296453203b.tar.gz
-Wincompatible-pointer-typescoretext-warnings
-rw-r--r--pango/pangocoretext-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c
index a02a9a07..0980303b 100644
--- a/pango/pangocoretext-fontmap.c
+++ b/pango/pangocoretext-fontmap.c
@@ -1422,7 +1422,7 @@ pango_core_text_font_map_load_fontset (PangoFontMap *fontmap,
/* Cannot use pango_core_text_fontset_key_free() here */
pango_font_description_free (key.desc);
- return g_object_ref (fontset);
+ return g_object_ref (PANGO_FONTSET (fontset));
}
static void