From: Jim Evins Date: Sun, 13 Dec 2009 05:07:20 +0000 (-0500) Subject: Fixed crash when manipulating barcode X-Git-Tag: glabels-2_3_0~114 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0f2ea2061dd8f4e957c9b5241842de578cb78d0b;p=glabels Fixed crash when manipulating barcode Failed to initialize line_color_node for barcodes in object_changed_cb(). --- 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);