From a2772a721fcceffdf99cc631c874ecdf2f75ee8a Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 10 Dec 2012 20:14:16 +0900 Subject: [PATCH] Bug 689523: data bootstrap initial values in the text style editor at construction. This was causing first a visual issue where the style editor UI would show no default font/size/style at instanciation, but even a crash when the user would change the font size or style (bold, italic...) from this UI before selecting a font or writing a text. --- app/widgets/gimptextstyleeditor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/widgets/gimptextstyleeditor.c b/app/widgets/gimptextstyleeditor.c index c66c3a397b..9fe6580565 100644 --- a/app/widgets/gimptextstyleeditor.c +++ b/app/widgets/gimptextstyleeditor.c @@ -365,6 +365,8 @@ gimp_text_style_editor_constructed (GObject *object) G_CALLBACK (gimp_text_style_editor_update), editor, 0, G_CONNECT_AFTER | G_CONNECT_SWAPPED); + + gimp_text_style_editor_update (editor); } static void