X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fdialog%2Fprint.cpp;h=a56cbfd9d65dd6066d4126c9cd5df143ba52f9dc;hb=9dc68827cbd515262ecb8d5ae8547d9e82c72e00;hp=80838617167fc998ae34831a527df9b5bbbfc19e;hpb=072de79e6270f4137fa48a8a73491e8a0904d8f8;p=inkscape.git diff --git a/src/ui/dialog/print.cpp b/src/ui/dialog/print.cpp index 808386171..a56cbfd9d 100644 --- a/src/ui/dialog/print.cpp +++ b/src/ui/dialog/print.cpp @@ -3,6 +3,7 @@ */ /* Authors: * Kees Cook + * Abhishek Sharma * * Copyright (C) 2007 Kees Cook * Released under GNU GPL. Read the file 'COPYING' for more information. @@ -181,7 +182,7 @@ Print::Print(SPDocument *doc, SPItem *base) : _printop = gtk_print_operation_new (); // set up dialog title, based on document name - gchar *jobname = _doc->name ? _doc->name : _("SVG Document"); + gchar const *jobname = _doc->getName() ? _doc->getName() : _("SVG Document"); Glib::ustring title = _("Print"); title += " "; title += jobname; @@ -240,4 +241,4 @@ Gtk::PrintOperationResult Print::run(Gtk::PrintOperationAction, Gtk::Window &par fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :