Author: Carlos Lopez <genet...@gmail.com> Date: Thu Feb 28 15:12:52 2013 +0100
Make Target_Cairo::gamma_filter static to be used without instance. --- synfig-core/src/synfig/target_cairo.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/synfig-core/src/synfig/target_cairo.h b/synfig-core/src/synfig/target_cairo.h index 1bafbf3..a6f95e6 100644 --- a/synfig-core/src/synfig/target_cairo.h +++ b/synfig-core/src/synfig/target_cairo.h @@ -73,7 +73,7 @@ public: //! Puts the rendered surface onto the target. virtual bool put_surface(cairo_surface_t *surface, ProgressCallback *cb=NULL); //! Filters the cairo surface based on gamma (hardcored for the moment to 2.2) - void gamma_filter(cairo_surface_t* surface); + static void gamma_filter(cairo_surface_t* surface); private: }; // END of class Target_Cairo ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl