summaryrefslogtreecommitdiffstats
path: root/src/dialogs/iconpreview.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-04-17 04:46:51 +0000
committermental <mental@users.sourceforge.net>2006-04-17 04:46:51 +0000
commit805747f6b136ad2e89f5ca1020ca43506d2b5391 (patch)
treebeded9b49a5f2f5a3ac956ded5604cee5d61cd0c /src/dialogs/iconpreview.cpp
parentSP_DT_DOCUMENT -> sp_desktop_document (diff)
downloadinkscape-805747f6b136ad2e89f5ca1020ca43506d2b5391.tar.gz
inkscape-805747f6b136ad2e89f5ca1020ca43506d2b5391.zip
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)
Diffstat (limited to 'src/dialogs/iconpreview.cpp')
-rw-r--r--src/dialogs/iconpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/iconpreview.cpp b/src/dialogs/iconpreview.cpp
index 4a3248010..6641b3bfb 100644
--- a/src/dialogs/iconpreview.cpp
+++ b/src/dialogs/iconpreview.cpp
@@ -218,7 +218,7 @@ void IconPreviewPanel::refreshPreview()
if ( selectionButton && selectionButton->get_active() )
{
- Inkscape::Selection * sel = SP_DT_SELECTION(desktop);
+ Inkscape::Selection * sel = sp_desktop_selection(desktop);
if ( sel ) {
//g_message("found a selection to play with");