From 0f2ea2061dd8f4e957c9b5241842de578cb78d0b Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 13 Dec 2009 00:07:20 -0500 Subject: [PATCH] Fixed crash when manipulating barcode Failed to initialize line_color_node for barcodes in object_changed_cb(). --- src/object-editor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/object-editor.c b/src/object-editor.c index cab3477e..dd5d5cca 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); -- 2.39.5