]> git.sur5r.net Git - glabels/commitdiff
Fixed parameters sent to gl_label_barcode_set_props() when creating new barcode.
authorJim Evins <evins@snaught.com>
Sun, 26 Jan 2003 17:43:10 +0000 (17:43 +0000)
committerJim Evins <evins@snaught.com>
Sun, 26 Jan 2003 17:43:10 +0000 (17:43 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@246 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/view-barcode.c

index a2312d137697eeea19dd8d1800ebf0af9a8f25f4..1f823a5e7f5b01e0ab0dfad963d9c3148d87487e 100644 (file)
@@ -685,8 +685,8 @@ gl_view_barcode_create_event_handler (GnomeCanvas *canvas,
                        gl_label_barcode_set_props (GL_LABEL_BARCODE(object),
                                                    GL_BARCODE_STYLE_POSTNET,
                                                    FALSE,
-                                                   gl_color_set_opacity (gl_prefs->default_line_color, 0.5),
-                                                   1.0);
+                                                   TRUE,
+                                                   gl_color_set_opacity (gl_prefs->default_line_color, 0.5));
                        view_barcode = gl_view_barcode_new (GL_LABEL_BARCODE(object),
                                                            view);
                        x0 = x;
@@ -711,8 +711,8 @@ gl_view_barcode_create_event_handler (GnomeCanvas *canvas,
                        gl_label_barcode_set_props (GL_LABEL_BARCODE(object),
                                                    GL_BARCODE_STYLE_POSTNET,
                                                    FALSE,
-                                                   gl_prefs->default_line_color,
-                                                   1.0);
+                                                   TRUE,
+                                                   gl_prefs->default_line_color);
                        gl_view_unselect_all (view);
                        gl_view_object_select (GL_VIEW_OBJECT(view_barcode));
                        gl_view_arrow_mode (view);