summaryrefslogtreecommitdiffstats
path: root/src/conn-avoid-ref.cpp
diff options
context:
space:
mode:
authorAbhishek Sharma public <spyzerdotabhishek0at-signgmaildotcom>2010-07-20 10:44:23 +0000
committerAbhishek Sharma public <spyzerdotabhishek0at-signgmaildotcom>2010-07-20 10:44:23 +0000
commit88fc01afa8ea80d5105961d9103cc8f33582e7fb (patch)
tree92fe8202ab6ac05b62eaca4a659a3bea23cff0ab /src/conn-avoid-ref.cpp
parentI didn't see it but there was an important file missing namely document-undo.h (diff)
downloadinkscape-88fc01afa8ea80d5105961d9103cc8f33582e7fb.tar.gz
inkscape-88fc01afa8ea80d5105961d9103cc8f33582e7fb.zip
More on c++ification and some XML privatisation
(bzr r9546.1.10)
Diffstat (limited to 'src/conn-avoid-ref.cpp')
-rw-r--r--src/conn-avoid-ref.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp
index fd37fceed..3e8359c57 100644
--- a/src/conn-avoid-ref.cpp
+++ b/src/conn-avoid-ref.cpp
@@ -314,7 +314,8 @@ void SPAvoidRef::handleSettingChange(void)
_transformed_connection = item->connectTransformed(
sigc::ptr_fun(&avoid_item_move));
- const char *id = SP_OBJECT_REPR(item)->attribute("id");
+ //const char *id = SP_OBJECT_REPR(item)->attribute("id");
+ const char *id = item->getAttribute("id");
g_assert(id != NULL);
// Get a unique ID for the item.