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.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 'src/knot.h')
| -rw-r--r-- | src/knot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/knot.h b/src/knot.h index 795eeb8e3..5693417fd 100644 --- a/src/knot.h +++ b/src/knot.h @@ -62,6 +62,8 @@ struct SPKnot { gchar *tip; + gulong _event_handler_id; + //TODO: all the members above should eventualle become private, accessible via setters/getters inline void setSize (guint i) {size = i;} inline void setShape (guint i) {shape = (SPKnotShapeType) i;} |
