[glabels] Fixed crash when manipulating barcode



commit 0f2ea2061dd8f4e957c9b5241842de578cb78d0b
Author: Jim Evins <evins snaught com>
Date:   Sun Dec 13 00:07:20 2009 -0500

    Fixed crash when manipulating barcode
    
    Failed to initialize line_color_node for barcodes in object_changed_cb().

 src/object-editor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/object-editor.c b/src/object-editor.c
index cab3477..dd5d5cc 100644
--- a/src/object-editor.c
+++ b/src/object-editor.c
@@ -850,6 +850,7 @@ object_changed_cb (glLabelObject  *object,
                 bc_data = gl_label_barcode_get_data (GL_LABEL_BARCODE(object));
                 gl_label_barcode_get_props (GL_LABEL_BARCODE(object),
                                             &id, &text_flag, &cs_flag, &format_digits);
+                line_color_node   = gl_label_object_get_line_color (GL_LABEL_OBJECT(object));
 
                 gl_object_editor_set_size (editor, w, h);
                 gl_object_editor_set_data (editor, (merge != NULL), bc_data);



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