Code

turns out, all these synthesize_events were not necessary at all - they just fired...
[inkscape.git] / src / rect-context.cpp
index 1d62667956b84d8499a3db1a3ab6b7a19443ce4c..053229a41d067361ded28f60c772a8877fd94534 100644 (file)
@@ -181,7 +181,6 @@ void sp_rect_context_selection_changed(Inkscape::Selection *selection, gpointer
             ec->shape_repr = shape_repr;
             Inkscape::GC::anchor(shape_repr);
             sp_repr_add_listener(shape_repr, &ec_shape_repr_events, ec);
-            sp_repr_synthesize_events(shape_repr, &ec_shape_repr_events, ec);
         }
     }
 }
@@ -202,7 +201,6 @@ static void sp_rect_context_setup(SPEventContext *ec)
             ec->shape_repr = shape_repr;
             Inkscape::GC::anchor(shape_repr);
             sp_repr_add_listener(shape_repr, &ec_shape_repr_events, ec);
-            sp_repr_synthesize_events(shape_repr, &ec_shape_repr_events, ec);
         }
     }