diff options
Diffstat (limited to 'src/text.c')
-rw-r--r-- | src/text.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -45,7 +45,9 @@ enum { static void ganv_text_init(GanvText* text) { - GanvTextImpl* impl = GANV_TEXT_GET_PRIVATE(text); + GanvTextImpl* impl = G_TYPE_INSTANCE_GET_PRIVATE( + text, GANV_TYPE_TEXT, GanvTextImpl); + text->impl = impl; memset(&impl->coords, '\0', sizeof(GanvTextCoords)); |