When constructing a text layer from an existing layer in gimp_text_layer_from_layer(), steal the old layer's buffer using the new gimp_drawable_steal_buffer(), instead of using simple pointer assignment, as the latter is generaly unsafe (even though it should currently work). |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| gimp-fonts.c | ||
| gimp-fonts.h | ||
| gimpfont.c | ||
| gimpfont.h | ||
| gimpfontlist.c | ||
| gimpfontlist.h | ||
| gimptext-compat.c | ||
| gimptext-compat.h | ||
| gimptext-parasite.c | ||
| gimptext-parasite.h | ||
| gimptext-vectors.c | ||
| gimptext-vectors.h | ||
| gimptext-xlfd.c | ||
| gimptext-xlfd.h | ||
| gimptext.c | ||
| gimptext.h | ||
| gimptextlayer-transform.c | ||
| gimptextlayer-transform.h | ||
| gimptextlayer-xcf.c | ||
| gimptextlayer-xcf.h | ||
| gimptextlayer.c | ||
| gimptextlayer.h | ||
| gimptextlayout-render.c | ||
| gimptextlayout-render.h | ||
| gimptextlayout.c | ||
| gimptextlayout.h | ||
| gimptextundo.c | ||
| gimptextundo.h | ||
| Makefile.am | ||
| text-enums.c | ||
| text-enums.h | ||
| text-types.h | ||