summaryrefslogtreecommitdiffstats
path: root/src/conn-avoid-ref.h
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-14 16:37:50 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-03-14 16:37:50 +0000
commitb8d22beef5345210ad27cdc2685083aeae6f8f3b (patch)
treed69b8bfd19d3627a8425a1b265c2abf229b05354 /src/conn-avoid-ref.h
parentfixes for update to trunk (diff)
parent"Relative to" option for node alignment. (diff)
downloadinkscape-b8d22beef5345210ad27cdc2685083aeae6f8f3b.tar.gz
inkscape-b8d22beef5345210ad27cdc2685083aeae6f8f3b.zip
update to trunk
(bzr r13708.1.39)
Diffstat (limited to 'src/conn-avoid-ref.h')
-rw-r--r--src/conn-avoid-ref.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/conn-avoid-ref.h b/src/conn-avoid-ref.h
index e9e12118f..2c7da9aae 100644
--- a/src/conn-avoid-ref.h
+++ b/src/conn-avoid-ref.h
@@ -20,7 +20,6 @@
class SPDesktop;
class SPObject;
class SPItem;
-typedef struct _GSList GSList;
namespace Avoid { class ShapeRef; }
class SPAvoidRef {
@@ -41,8 +40,8 @@ public:
// Avoid::runningTo
// Avoid::runningFrom
// Avoid::runningToAndFrom
- GSList *getAttachedShapes(const unsigned int type);
- GSList *getAttachedConnectors(const unsigned int type);
+ std::vector<SPItem *> getAttachedShapes(const unsigned int type);
+ std::vector<SPItem *> getAttachedConnectors(const unsigned int type);
private:
SPItem *item;
@@ -55,7 +54,7 @@ private:
sigc::connection _transformed_connection;
};
-extern GSList *get_avoided_items(GSList *list, SPObject *from,
+extern std::vector<SPItem *> get_avoided_items(std::vector<SPItem *> &list, SPObject *from,
SPDesktop *desktop, bool initialised = true);
extern void avoid_item_move(Geom::Affine const *mp, SPItem *moved_item);
extern void init_avoided_shape_geometry(SPDesktop *desktop);