diff --git a/src/desktop-affine.h b/src/desktop-affine.h
index 87d31c751da88aa1c621dcb7a7e9a27c2fbe8ab6..dda4e90ee3f9a466c0859617f538024a4831f397 100644 (file)
--- a/src/desktop-affine.h
+++ b/src/desktop-affine.h
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include "forward.h"
-#include <2geom/forward.h>
+#include "desktop.h"
-Geom::Matrix const sp_desktop_dt2doc_affine (SPDesktop const *dt);
-
-Geom::Point sp_desktop_dt2doc_xy_point(SPDesktop const *dt, Geom::Point const p);
-
-#if 0
-Geom::Matrix const sp_desktop_root2dt_affine(SPDesktop const *dt);
-Geom::Matrix const sp_desktop_dt2root_affine(SPDesktop const *dt);
-
-Geom::Point sp_desktop_root2dt_xy_point(SPDesktop const *dt, const Geom::Point p);
-Geom::Point sp_desktop_dt2root_xy_point(SPDesktop const *dt, const Geom::Point p);
-#endif
+#define sp_desktop_dt2doc_affine(desktop) desktop->dt2doc()
+#define sp_desktop_dt2doc_xy_point(desktop,point) desktop->dt2doc(point)
#endif