X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdock_canvasspecific.cpp;h=dc655eff3fdb0aa81dd907d8147c8545a0714666;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=179f7c026fdfaef27a33a525a9bc531c8dbfeb65;hpb=c3ad95144d148602f672e95ddda1f18fc35502f8;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dock_canvasspecific.cpp b/synfig-studio/trunk/src/gtkmm/dock_canvasspecific.cpp index 179f7c0..dc655ef 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_canvasspecific.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_canvasspecific.cpp @@ -43,6 +43,8 @@ #include "canvasview.h" #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -105,7 +107,7 @@ Dock_CanvasSpecific::init_instance(etl::handle instance) etl::clock timer;timer.reset(); instance->signal_canvas_view_created().connect(sigc::mem_fun(*this,&Dock_CanvasSpecific::init_canvas_view)); init_instance_vfunc(instance); - synfig::info("%s init_instance() took %f seconds",get_local_name().c_str(),float(timer())); + // synfig::info("%s init_instance() took %f seconds",get_local_name().c_str(),float(timer())); } void @@ -130,7 +132,7 @@ Dock_CanvasSpecific::init_canvas_view(CanvasView* canvas_view) ) ); */ - synfig::info("%s init_canvas_view() Starting init...",get_local_name().c_str()); + // synfig::info("%s init_canvas_view() Starting init...",get_local_name().c_str()); etl::clock timer;timer.reset(); App::signal_canvas_view_focus().connect( sigc::hide( @@ -141,7 +143,7 @@ Dock_CanvasSpecific::init_canvas_view(CanvasView* canvas_view) ) ); init_canvas_view_vfunc(canvas_view); - synfig::info("%s init_canvas_view() took %f seconds",get_local_name().c_str(),float(timer())); + // synfig::info("%s init_canvas_view() took %f seconds",get_local_name().c_str(),float(timer())); } void @@ -163,11 +165,11 @@ Dock_CanvasSpecific::canvas_view_changed() } */ -#ifdef _DEBUG - synfig::info("%s canvas_view_changed: start",get_local_name().c_str()); -#endif +// #ifdef _DEBUG +// synfig::info("%s canvas_view_changed: start",get_local_name().c_str()); +// #endif changed_canvas_view_vfunc(canvas_view); -#ifdef _DEBUG - synfig::info("%s canvas_view_changed: end",get_local_name().c_str()); -#endif +// #ifdef _DEBUG +// synfig::info("%s canvas_view_changed: end",get_local_name().c_str()); +// #endif }