X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fextension%2Finternal%2Fgnome.cpp;h=4bdec5f9818c59a05c0342a458c82706455d2bf6;hb=e900b46f3a8707abddd24803da7f25eecf09a942;hp=d81dfa95e65f36a27220e9d7aa817383c88b6948;hpb=6b15695578f07a3f72c4c9475c1a261a3021472a;p=inkscape.git diff --git a/src/extension/internal/gnome.cpp b/src/extension/internal/gnome.cpp index d81dfa95e..4bdec5f98 100644 --- a/src/extension/internal/gnome.cpp +++ b/src/extension/internal/gnome.cpp @@ -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(), @@ -388,15 +388,17 @@ PrintGNOME::image (Inkscape::Extension::Print *mod, unsigned char *px, unsigned return 0; } +#include "clear-n_.h" + void PrintGNOME::init (void) { Inkscape::Extension::Extension * ext; - + /* SVG in */ ext = Inkscape::Extension::build_from_mem( "\n" - "GNOME Print\n" + "" N_("GNOME Print") "\n" "" SP_MODULE_KEY_PRINT_GNOME "\n" "\n" "", new PrintGNOME()); @@ -421,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) {