From a21718e01023e9f2e4bde918148a1f76fd9aa7a5 Mon Sep 17 00:00:00 2001 From: rwst Date: Tue, 21 Feb 2006 10:45:55 +0000 Subject: [PATCH] rename present()->presdentPage(), removes compiler warnings --- src/ui/dialog/transformation.cpp | 2 +- src/ui/dialog/transformation.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ui/dialog/transformation.cpp b/src/ui/dialog/transformation.cpp index 9182209f5..6056e4a2e 100644 --- a/src/ui/dialog/transformation.cpp +++ b/src/ui/dialog/transformation.cpp @@ -168,7 +168,7 @@ Transformation::~Transformation() ########################################################################*/ void -Transformation::present(Transformation::PageType page) +Transformation::presentPage(Transformation::PageType page) { _notebook.set_current_page(page); Gtk::Dialog::show(); diff --git a/src/ui/dialog/transformation.h b/src/ui/dialog/transformation.h index 68faeb45a..0c7833c9e 100644 --- a/src/ui/dialog/transformation.h +++ b/src/ui/dialog/transformation.h @@ -65,33 +65,33 @@ public: * Show the Move panel */ void setPageMove() - { present(PAGE_MOVE); } + { presentPage(PAGE_MOVE); } /** * Show the Scale panel */ void setPageScale() - { present(PAGE_SCALE); } + { presentPage(PAGE_SCALE); } /** * Show the Rotate panel */ void setPageRotate() - { present(PAGE_ROTATE); } + { presentPage(PAGE_ROTATE); } /** * Show the Skew panel */ void setPageSkew() - { present(PAGE_SKEW); } + { presentPage(PAGE_SKEW); } /** * Show the Transform panel */ void setPageTransform() - { present(PAGE_TRANSFORM); } + { presentPage(PAGE_TRANSFORM); } int getCurrentPage() @@ -148,7 +148,7 @@ protected: void layoutPageTransform(); virtual void _apply(); - void present(PageType page); + void presentPage(PageType page); void onSelectionChanged(Inkscape::NSApplication::Application *inkscape, Inkscape::Selection *selection); -- 2.30.2