No, there is no bug report. I have fixed it at
gitlab.gnome.org/GNOME/pangomm, branches pangomm-2-46, pangomm-2-48 and
master.
It looks like this bug has existed for at least 14 years. Hasn't anyone
used Pango::Context::get_font_map() before?
Den 2022-02-21 kl. 20:28, skrev phosit--- via
Thank you for the answer and the fix.
Is ther a bug report i can track?
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
It's a bug in Pango::Context::get_font_map(). It should get its own
reference to the font map, but it doesn't. Until the bug has been fixed
in pangomm, you can add a reference yourself.
auto fontMap = context->get_font_map();
fontMap->reference(); // Temporary bug fix
Note that when you
> does the error occur if you do windows.reserve(2) before the
> emplace_back()s?
Yes
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
does the error occur if you do windows.reserve(2) before the
emplace_back()s?
On Mon, 21 Feb 2022, 14:30 phosit--- via gtkmm-list,
wrote:
> Hello
> I try to list the awailable font-families.
> If I open and close multiple windows ther is a critical error:
> GLib-GObject-CRITICAL **: