From: dooglus Date: Sun, 9 Nov 2008 17:23:41 +0000 (+0000) Subject: Remove unused and undefined function 'load_modules'. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c592c08c1bdca0a6c209a94d0becf034618f166b;p=synfig.git Remove unused and undefined function 'load_modules'. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2172 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/main.cpp b/synfig-core/trunk/src/synfig/main.cpp index 8d593ae..edc0b64 100644 --- a/synfig-core/trunk/src/synfig/main.cpp +++ b/synfig-core/trunk/src/synfig/main.cpp @@ -314,8 +314,6 @@ synfig::Main::Main(const synfig::String& basepath,ProgressCallback *cb): if(cb)cb->amount_complete((i+1)*100,modules_to_load.size()*100); } -// load_modules(cb); - if(cb)cb->amount_complete(100, 100); if(cb)cb->task(_("DONE")); } diff --git a/synfig-core/trunk/src/synfig/main.h b/synfig-core/trunk/src/synfig/main.h index 3136cb7..2746b19 100644 --- a/synfig-core/trunk/src/synfig/main.h +++ b/synfig-core/trunk/src/synfig/main.h @@ -50,8 +50,6 @@ public: Main(const synfig::String& basepath,ProgressCallback *cb=0); ~Main(); - static void load_modules(ProgressCallback *cb=0); - const etl::reference_counter& ref_count()const { return ref_count_; } }; // END of class Main