summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 502e89d)
raw | patch | inline | side by side (parent: 502e89d)
author | mjwybrow <mjwybrow@users.sourceforge.net> | |
Tue, 10 Apr 2007 06:54:01 +0000 (06:54 +0000) | ||
committer | mjwybrow <mjwybrow@users.sourceforge.net> | |
Tue, 10 Apr 2007 06:54:01 +0000 (06:54 +0000) |
src/conn-avoid-ref.cpp | patch | blob | history |
diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp
index 540e8205fbbf191e093619c4e60e601c3faa5fa7..864eadbbab51a52b1036dcca4f2959e5970da4f3 100644 (file)
--- a/src/conn-avoid-ref.cpp
+++ b/src/conn-avoid-ref.cpp
_transformed_connection.disconnect();
if (new_setting) {
- _transformed_connection = item->connectTransformed(
- sigc::ptr_fun(&avoid_item_move));
-
Avoid::Polygn poly = avoid_item_poly(item);
if (poly.pn > 0) {
+ _transformed_connection = item->connectTransformed(
+ sigc::ptr_fun(&avoid_item_move));
+
const char *id = SP_OBJECT_REPR(item)->attribute("id");
g_assert(id != NULL);