diff --git a/ChangeLog b/ChangeLog index 3f568aa..286525f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,27 @@ +2006-01-31 22:49 tchernobog + + * trunk/configure.ac: - Add check to get sigc++ cflags and ldflags + separately, if needed + +2006-01-31 21:11 tchernobog + + * trunk/m4/ac_python_devel.m4: - Typo : bail out for python <= 2.1.0 + instead of 2.5.0 + +2006-01-31 20:18 tchernobog + + * trunk/m4/ac_python_devel.m4: - Fix typo + +2006-01-31 19:06 tchernobog + + * trunk/ChangeLog, trunk/m4/ac_python_devel.m4: - Update + ac_python_devel to check and complain about Python < 2.1.0. + +2006-01-31 11:59 tchernobog + + * trunk/src/backend/schedulable.hh, trunk/src/parseopts.hh: - Fix + api docs : aesthetics + 2006-01-29 17:33 tchernobog * trunk/m4/ac_python_devel.m4: - Fix macro documentation header diff --git a/src/main.cc b/src/main.cc index a85ed1b..e0add46 100644 --- a/src/main.cc +++ b/src/main.cc @@ -25,26 +25,10 @@ #include "parseopts.hh" #include "startgui.hh" -#include -#include #include -#include #include #include - -// Functor to be used by for_each() -struct create_fnames_vect : public std::unary_function -{ - typedef std::vector& vect_type; -public: - create_fnames_vect(vect_type v) : _v(v) {} - void operator()(const char* str) {_v.push_back(str);} -private: - vect_type _v; -}; - - int main(int argc, char* argv[]) { @@ -62,7 +46,7 @@ main(int argc, char* argv[]) int a_count = argc; char** a_ptr = argv; parse_options(a_count, a_ptr); - for_each(a_ptr, a_ptr+a_count, create_fnames_vect(filenames)); + filenames.insert(filenames.begin(), a_ptr, a_ptr+a_count); } start_gui(argc, argv);