diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-11-15 19:08:00 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-11-15 19:08:00 +0000 |
| commit | 11fd7a608db9b2133bb0fc067545557fedfd2643 (patch) | |
| tree | b9a97dd449e410b7a6c0c2f496204cac0730338b /src/widgets/rect-toolbar.cpp | |
| parent | Add vertical and horizontal modes (diff) | |
| parent | Purged GTKish SP_IS_RECT_CONTEXT/SP_RECT_CONTEXT macros. (diff) | |
| download | inkscape-11fd7a608db9b2133bb0fc067545557fedfd2643.tar.gz inkscape-11fd7a608db9b2133bb0fc067545557fedfd2643.zip | |
update to trunk
(bzr r13682.1.12)
Diffstat (limited to 'src/widgets/rect-toolbar.cpp')
| -rw-r--r-- | src/widgets/rect-toolbar.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/rect-toolbar.cpp b/src/widgets/rect-toolbar.cpp index e1ce01eaf..b6b7e435d 100644 --- a/src/widgets/rect-toolbar.cpp +++ b/src/widgets/rect-toolbar.cpp @@ -404,7 +404,8 @@ static void rect_toolbox_watch_ec(SPDesktop* desktop, Inkscape::UI::Tools::ToolB { static sigc::connection changed; - if (SP_IS_RECT_CONTEXT(ec)) { + // TODO fixme: use of dynamic_cast<> seems wrong here. + if (dynamic_cast<Inkscape::UI::Tools::RectTool *>(ec)) { changed = sp_desktop_selection(desktop)->connectChanged(sigc::bind(sigc::ptr_fun(sp_rect_toolbox_selection_changed), holder)); } else { if (changed) |
