Code

New placeholder code for gradients
[inkscape.git] / src / extension / internal / gnome.cpp
index adeb36ef657107b5d137a7dd3437ceff633c98b5..4bdec5f9818c59a05c0342a458c82706455d2bf6 100644 (file)
@@ -239,7 +239,7 @@ PrintGNOME::fill(Inkscape::Extension::Print *mod,
        dpbox.y0 = pbox->y0;
        dpbox.x1 = pbox->x1;
        dpbox.y1 = pbox->y1;
-       painter = sp_paint_server_painter_new(SP_STYLE_FILL_SERVER(style), 
+       painter = sp_paint_server_painter_new(SP_STYLE_FILL_SERVER(style),
                                                // FIXME: the second matrix below must be the parent (context) transform.
                                                // I don't know what it must be for gnome-print. --bb
                                                ctm, NR::identity(),
@@ -394,7 +394,7 @@ void
 PrintGNOME::init (void)
 {
        Inkscape::Extension::Extension * ext;
-       
+
        /* SVG in */
     ext = Inkscape::Extension::build_from_mem(
                "<inkscape-extension>\n"
@@ -423,7 +423,7 @@ nr_artpath_to_art_bpath(NArtBpath const *s)
        i = 0;
        while (s[i].code != NR_END) i += 1;
 
-       ArtBpath* d = nr_new (ArtBpath, i + 1);
+       ArtBpath* d = g_new (ArtBpath, i + 1);
 
        i = 0;
        while (s[i].code != NR_END) {