diff options
| author | Andrius Ramanauskas <knutux@gmail.com> | 2006-04-06 12:49:42 +0000 |
|---|---|---|
| committer | knutux <knutux@users.sourceforge.net> | 2006-04-06 12:49:42 +0000 |
| commit | f274306e8aa543f3e8de6fae7c8e0b421a0367c5 (patch) | |
| tree | 40bcf34c2feaaaa453506322e71c7ad1db719643 /src/knot-holder-entity.h | |
| parent | one type and small update (diff) | |
| download | inkscape-f274306e8aa543f3e8de6fae7c8e0b421a0367c5.tar.gz inkscape-f274306e8aa543f3e8de6fae7c8e0b421a0367c5.zip | |
two crashes while editing nodes (one of those is reported as bug 1453558).
* fixed by making SPKnotHolder a referenced class and adding ref/unref in knot_click_handler (which sometime change attributes and knot handler is destroyed before calling knotholder_update_knots);
* fixed another crash by adding ref/unref to sp_knot_handler
* also added signal disconnecting
(bzr r445)
Diffstat (limited to '')
| -rw-r--r-- | src/knot-holder-entity.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/knot-holder-entity.h b/src/knot-holder-entity.h index 1e9001e67..bbc0c5634 100644 --- a/src/knot-holder-entity.h +++ b/src/knot-holder-entity.h @@ -29,6 +29,10 @@ struct SPKnotHolderEntity { /** Connection to \a knot's "moved" signal. */ guint handler_id; + /** Connection to \a knot's "clicked" signal. */ + guint _click_handler_id; + /** Connection to \a knot's "ungrabbed" signal. */ + guint _ungrab_handler_id; /** * Called solely from knot_moved_handler. |
