[gimp] Bug 689523: data bootstrap initial values in the text style editor at construction.



commit 20c86f821df507e2067b892abd9cdd63950ebbed
Author: Jehan <jehan girinstud io>
Date:   Mon Dec 10 20:14:16 2012 +0900

    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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimptextstyleeditor.c b/app/widgets/gimptextstyleeditor.c
index 92ac82a..58c40da 100644
--- a/app/widgets/gimptextstyleeditor.c
+++ b/app/widgets/gimptextstyleeditor.c
@@ -364,6 +364,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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]