diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-04-01 03:01:26 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-04-01 03:01:26 +0000 |
| commit | 81eb462155b89a2002461be6d57ab002cb8852ba (patch) | |
| tree | cb8f0ad47c6de5db9dc0f6f4e8c3fd6dc57f2642 /src | |
| parent | correcting file list (diff) | |
| download | inkscape-81eb462155b89a2002461be6d57ab002cb8852ba.tar.gz inkscape-81eb462155b89a2002461be6d57ab002cb8852ba.zip | |
turns out, all these synthesize_events were not necessary at all - they just fired fake events that i never needed
(bzr r382)
Diffstat (limited to 'src')
| -rw-r--r-- | src/arc-context.cpp | 2 | ||||
| -rw-r--r-- | src/rect-context.cpp | 2 | ||||
| -rw-r--r-- | src/spiral-context.cpp | 2 | ||||
| -rw-r--r-- | src/star-context.cpp | 2 | ||||
| -rw-r--r-- | src/widgets/toolbox.cpp | 5 |
5 files changed, 0 insertions, 13 deletions
diff --git a/src/arc-context.cpp b/src/arc-context.cpp index 48e153638..10e38ee9a 100644 --- a/src/arc-context.cpp +++ b/src/arc-context.cpp @@ -177,7 +177,6 @@ void sp_arc_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); } } } @@ -200,7 +199,6 @@ static void sp_arc_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); } } diff --git a/src/rect-context.cpp b/src/rect-context.cpp index 1d6266795..053229a41 100644 --- a/src/rect-context.cpp +++ b/src/rect-context.cpp @@ -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); } } diff --git a/src/spiral-context.cpp b/src/spiral-context.cpp index 15bf513dc..ea0ba9b64 100644 --- a/src/spiral-context.cpp +++ b/src/spiral-context.cpp @@ -183,7 +183,6 @@ sp_spiral_context_selection_changed(Inkscape::Selection *selection, gpointer dat 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); } } } @@ -210,7 +209,6 @@ sp_spiral_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); } } diff --git a/src/star-context.cpp b/src/star-context.cpp index f796f77a9..9d5d16684 100644 --- a/src/star-context.cpp +++ b/src/star-context.cpp @@ -187,7 +187,6 @@ sp_star_context_selection_changed (Inkscape::Selection * selection, gpointer dat 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); } } } @@ -216,7 +215,6 @@ sp_star_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); } } diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 6a3a33183..5eacf74b4 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -1086,7 +1086,6 @@ sp_star_toolbox_selection_changed(Inkscape::Selection *selection, GtkObject *tbl g_object_set_data(G_OBJECT(tbl), "repr", repr); Inkscape::GC::anchor(repr); sp_repr_add_listener(repr, &star_tb_repr_events, tbl); - sp_repr_synthesize_events(repr, &star_tb_repr_events, tbl); } } else { // FIXME: implement averaging of all parameters for multiple selected stars @@ -1480,7 +1479,6 @@ sp_rect_toolbox_selection_changed(Inkscape::Selection *selection, GtkObject *tbl g_object_set_data(G_OBJECT(tbl), "item", item); Inkscape::GC::anchor(repr); sp_repr_add_listener(repr, &rect_tb_repr_events, tbl); - sp_repr_synthesize_events(repr, &rect_tb_repr_events, tbl); } } else { // FIXME: implement averaging of all parameters for multiple selected @@ -1749,7 +1747,6 @@ sp_spiral_toolbox_selection_changed(Inkscape::Selection *selection, GtkObject *t g_object_set_data(G_OBJECT(tbl), "repr", repr); Inkscape::GC::anchor(repr); sp_repr_add_listener(repr, &spiral_tb_repr_events, tbl); - sp_repr_synthesize_events(repr, &spiral_tb_repr_events, tbl); } } else { // FIXME: implement averaging of all parameters for multiple selected @@ -2333,7 +2330,6 @@ sp_arc_toolbox_selection_changed(Inkscape::Selection *selection, GtkObject *tbl) g_object_set_data(G_OBJECT(tbl), "repr", repr); Inkscape::GC::anchor(repr); sp_repr_add_listener(repr, &arc_tb_repr_events, tbl); - sp_repr_synthesize_events(repr, &arc_tb_repr_events, tbl); } } else { // FIXME: implement averaging of all parameters for multiple selected @@ -3144,7 +3140,6 @@ sp_connector_toolbox_new(SPDesktop *desktop) g_object_set_data(G_OBJECT(tbl), "repr", repr); Inkscape::GC::anchor(repr); sp_repr_add_listener(repr, &connector_tb_repr_events, tbl); - sp_repr_synthesize_events(repr, &connector_tb_repr_events, tbl); } return tbl; |
