diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2014-11-15 18:52:22 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2014-11-15 18:52:22 +0000 |
| commit | f6740d03736aa790dbd2b0441337ce97cef843fb (patch) | |
| tree | 1cbdffd6428a1d55d705d9aa67db79ae99bd6b33 /src/ui/tools | |
| parent | Purged GTKish macros SP_SCRIPT/SP_IS_SCRIPT. (diff) | |
| download | inkscape-f6740d03736aa790dbd2b0441337ce97cef843fb.tar.gz inkscape-f6740d03736aa790dbd2b0441337ce97cef843fb.zip | |
Purged GTKish SP_IS_RECT_CONTEXT/SP_RECT_CONTEXT macros.
(bzr r13713)
Diffstat (limited to 'src/ui/tools')
| -rw-r--r-- | src/ui/tools/rect-tool.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/tools/rect-tool.h b/src/ui/tools/rect-tool.h index a50fd7b24..a22f1caa8 100644 --- a/src/ui/tools/rect-tool.h +++ b/src/ui/tools/rect-tool.h @@ -6,6 +6,7 @@ * * Author: * Lauris Kaplinski <lauris@kaplinski.com> + * Jon A. Cruz <jon@joncruz.org> * * Copyright (C) 2000 Lauris Kaplinski * Copyright (C) 2000-2001 Ximian, Inc. @@ -21,9 +22,6 @@ #include "sp-rect.h" -#define SP_RECT_CONTEXT(obj) (dynamic_cast<Inkscape::UI::Tools::RectTool*>((Inkscape::UI::Tools::ToolBase*)obj)) -#define SP_IS_RECT_CONTEXT(obj) (dynamic_cast<const Inkscape::UI::Tools::RectTool*>((const Inkscape::UI::Tools::ToolBase*)obj) != NULL) - namespace Inkscape { namespace UI { namespace Tools { |
