#include "asyncrenderer.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
dw, // width
dh, // height
dw*synfig::channels(pf), // stride (pitch)
- SigC::slot(freegu8)
+ sigc::ptr_fun(freegu8)
);
}
else
bool studio::Widget_NavView::on_expose_draw(GdkEventExpose */*exp*/)
{
+ // don't redraw if the previous redraw is still running single-threaded
+ // or we end up destroying the renderer that's rendering it
+ if (App::single_threaded && renderer && renderer->updating)
+ return false;
+
//print out the zoom
//HACK kind of...
//zoom_print.set_text(strprintf("%.1f%%",100*unit_to_zoom(adj_zoom.get_value())));