Author: Diego Barrios Romero <[email protected]>
Date:   Mon Feb 13 19:56:51 2012 +0100

Main updated to new job methods

---

 synfig-core/src/tool/main.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/synfig-core/src/tool/main.cpp b/synfig-core/src/tool/main.cpp
index e416998..998c114 100644
--- a/synfig-core/src/tool/main.cpp
+++ b/synfig-core/src/tool/main.cpp
@@ -533,7 +533,7 @@ int main(int ac, char* av[])
                        if (ret != SYNFIGTOOL_OK)
                                return ret;
 
-                       print_child_canvases(job.filename + "#",job.root);
+                       print_child_canvases(job.filename() + "#",job.root());
 
                        cerr << endl;
 
@@ -571,7 +571,7 @@ int main(int ac, char* av[])
 
                for(; job_list.size(); job_list.pop_front())
                {
-                       VERBOSE_OUT(3) << job_list.front().filename << " -- " 
<< endl;
+                       VERBOSE_OUT(3) << job_list.front().filename() << " -- " 
<< endl;
                        VERBOSE_OUT(3) << '\t'
                                                   <<
                                strprintf("w:%d, h:%d, a:%d, pxaspect:%f, 
imaspect:%f, span:%f",
@@ -597,7 +597,7 @@ int main(int ac, char* av[])
                                        << endl;
 
                        RenderProgress p;
-                       p.task(job_list.front().filename + " ==> " +
+                       p.task(job_list.front().filename() + " ==> " +
                                   job_list.front().outfilename);
                        if(job_list.front().sifout)
                        {
@@ -622,7 +622,7 @@ int main(int ac, char* av[])
                                }
 
                                if(print_benchmarks)
-                                       cout << job_list.front().filename
+                                       cout << job_list.front().filename()
                                                 << _(": Rendered in ") << 
timer()
                                                 << _(" seconds.") << endl;
                        }


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to