From 805747f6b136ad2e89f5ca1020ca43506d2b5391 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Mon, 17 Apr 2006 04:46:51 +0000 Subject: Get rid of the SP_DT_* macros which do nothing more than provide additional, confusing, names for other functions. If shorter names are desired, the actual functions should be renamed -- or better, made into member functions. (bzr r532) --- src/ui/widget/page-sizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/widget/page-sizer.cpp') diff --git a/src/ui/widget/page-sizer.cpp b/src/ui/widget/page-sizer.cpp index 1073fa1d2..31390b676 100644 --- a/src/ui/widget/page-sizer.cpp +++ b/src/ui/widget/page-sizer.cpp @@ -285,7 +285,7 @@ PageSizer::setDoc (double w, double h) if (!SP_ACTIVE_DESKTOP || _wr->isUpdating()) return; - SPDocument *doc = SP_DT_DOCUMENT(SP_ACTIVE_DESKTOP); + SPDocument *doc = sp_desktop_document(SP_ACTIVE_DESKTOP); sp_document_set_width (doc, _rusw.getSU()->getValue("px"), &_px_unit); sp_document_set_height (doc, _rush.getSU()->getValue("px"), &_px_unit); sp_document_done (doc); -- cgit v1.2.3