Gimp/app/text
Ell 7c72d8cfa1 app: restore font list in async callback, not async-set notify handler
When font loading is finished, restore the font list in the
corresponding async completion callback, and not in the
"notify::empty" signal handler of the fonts async set

This solves a problem arising when gimp_fonts_wait() is called
*inside* a "notify::empty" signal handler, emitted when reloading
fonts (causing the "empty" property of the fonts async set to
switch from TRUE to FALSE):  When the wait is over, "empty" will
switch back from FALSE to TRUE, however, since the "notify" signal
is non-recursive, the corresponding handler will not be called,
gimp_fonts_wait() will return *before* the font list is restored,
and the caller will see an empty font list.  This can happen under
certain circumstances when reloading fonts while the text tool is
active.

(cherry picked from commit 0e19f159f5)
2018-05-30 12:58:47 -04:00
..
.gitignore enums: add intermediate generated enum files to .gitignore 2017-08-24 15:35:27 -04:00
gimp-fonts.c app: restore font list in async callback, not async-set notify handler 2018-05-30 12:58:47 -04:00
gimp-fonts.h app: add gimp_fonts_wait() 2018-05-29 16:07:48 -04:00
gimpfont.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpfont.h
gimpfontlist.c app: add a check on not-NULL string before g_utf8_validate(). 2018-05-05 15:55:30 +02:00
gimpfontlist.h
gimptext-compat.c app, pdb: wait for fonts to load before dependent operations 2018-05-29 16:07:48 -04:00
gimptext-compat.h app, pdb: wait for fonts to load before dependent operations 2018-05-29 16:07:48 -04:00
gimptext-parasite.c
gimptext-parasite.h
gimptext-vectors.c Bug 662787 - Segfaults when trying to set a large text size 2013-10-24 20:23:51 +13:00
gimptext-vectors.h
gimptext-xlfd.c Bug 795557 - Misc. typo fixes in source, comments and doxygen (pt3) 2018-04-25 23:49:06 +02:00
gimptext-xlfd.h
gimptext.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimptext.h
gimptextlayer-transform.c app,libgimp*: fix includes to follow our include policy 2013-10-15 01:58:39 +02:00
gimptextlayer-transform.h
gimptextlayer-xcf.c app: add gimp_drawable_{start,end,flush}_paint() 2018-04-08 09:42:47 -04:00
gimptextlayer-xcf.h
gimptextlayer.c app, pdb: wait for fonts to load before dependent operations 2018-05-29 16:07:48 -04:00
gimptextlayer.h
gimptextlayout-render.c Bug 726495 - "Text to path" delivers a path offset from the text 2014-04-11 16:56:29 +02:00
gimptextlayout-render.h
gimptextlayout.c Bug 774383 - Text layer created by gimp-text-fontname doesn't... 2016-11-15 13:23:00 +01:00
gimptextlayout.h Bug 795557 - Misc. typo fixes in source, comments and doxygen (pt3) 2018-04-25 23:49:06 +02:00
gimptextundo.c app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gimptextundo.h
Makefile.am */Makefile.am: add abbreviations to generated enum files 2017-11-30 03:10:14 -05:00
text-enums.c enums: generate enum files in source dir 2017-05-06 17:26:16 -04:00
text-enums.h app: remove /*< skip >*/ and /*< pdb-skip >*/ annotations from enums 2016-01-07 17:44:46 +01:00
text-types.h