diff options
Diffstat (limited to 'src/gradient-drag.h')
| -rw-r--r-- | src/gradient-drag.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gradient-drag.h b/src/gradient-drag.h index c92a5c22f..964ea8093 100644 --- a/src/gradient-drag.h +++ b/src/gradient-drag.h @@ -25,11 +25,10 @@ #include <2geom/point.h> -#include "knot-enums.h" #include "sp-gradient.h" // TODO refactor enums to external .h file #include "sp-mesh-array.h" -struct SPKnot; +class SPKnot; class SPDesktop; class SPCSSAttr; @@ -87,9 +86,6 @@ struct GrDragger { // position of the knot before it began to drag; updated when released Geom::Point point_original; - /** Connection to \a knot's "moved" signal, for blocking it (unused?). */ - guint handler_id; - GSList *draggables; void addDraggable(GrDraggable *draggable); @@ -118,6 +114,13 @@ struct GrDragger { bool isA(SPItem *item, GrPointType point_type, gint point_i, Inkscape::PaintTarget fill_or_stroke); void fireDraggables(bool write_repr, bool scale_radial = false, bool merging_focus = false); + +private: + sigc::connection _moved_connection; + sigc::connection _clicked_connection; + sigc::connection _doubleclicked_connection; + sigc::connection _grabbed_connection; + sigc::connection _ungrabbed_connection; }; /** |
