diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-10-16 05:07:46 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-10-16 05:07:46 +0000 |
| commit | 545e955b4b93cd7728de79eb40794d29963d0b4a (patch) | |
| tree | a3ae481ff51cbb763b24bd19c9e051b2fd50ba71 /src/display/sp-ctrlline.cpp | |
| parent | Fixed a typo (Kernal -> Kernel) (diff) | |
| download | inkscape-545e955b4b93cd7728de79eb40794d29963d0b4a.tar.gz inkscape-545e955b4b93cd7728de79eb40794d29963d0b4a.zip | |
associate an item with the line, for grdrag
(bzr r3904)
Diffstat (limited to 'src/display/sp-ctrlline.cpp')
| -rw-r--r-- | src/display/sp-ctrlline.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display/sp-ctrlline.cpp b/src/display/sp-ctrlline.cpp index 85f8fdc60..e94805831 100644 --- a/src/display/sp-ctrlline.cpp +++ b/src/display/sp-ctrlline.cpp @@ -78,6 +78,7 @@ sp_ctrlline_init (SPCtrlLine *ctrlline) ctrlline->rgba = 0x0000ff7f; ctrlline->s.x = ctrlline->s.y = ctrlline->e.x = ctrlline->e.y = 0.0; ctrlline->shp=NULL; + ctrlline->item=NULL; } static void @@ -93,6 +94,8 @@ sp_ctrlline_destroy (GtkObject *object) ctrlline->shp = NULL; } + ctrlline->item=NULL; + if (GTK_OBJECT_CLASS (parent_class)->destroy) (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); } |
