projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Suit a better way to set/get static parameter option and to fill the static option.
[synfig.git]
/
synfig-core
/
src
/
modules
/
mod_png
/
trgt_png.cpp
diff --git
a/synfig-core/src/modules/mod_png/trgt_png.cpp
b/synfig-core/src/modules/mod_png/trgt_png.cpp
index
bc38548
..
c4d4df4
100644
(file)
--- a/
synfig-core/src/modules/mod_png/trgt_png.cpp
+++ b/
synfig-core/src/modules/mod_png/trgt_png.cpp
@@
-25,8
+25,6
@@
/* === H E A D E R S ======================================================= */
/* === H E A D E R S ======================================================= */
-#define SYNFIG_TARGET
-
#ifdef USING_PCH
# include "pch.h"
#else
#ifdef USING_PCH
# include "pch.h"
#else
@@
-79,7
+77,8
@@
png_trgt::png_out_warning(png_struct *png_data,const char *msg)
//Target *png_trgt::New(const char *filename){ return new png_trgt(filename);}
//Target *png_trgt::New(const char *filename){ return new png_trgt(filename);}
-png_trgt::png_trgt(const char *Filename)
+png_trgt::png_trgt(const char *Filename,
+ const synfig::TargetParam& /* params */)
{
file=NULL;
filename=Filename;
{
file=NULL;
filename=Filename;