diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2014-03-08 16:02:21 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2014-03-08 16:02:21 +0000 |
| commit | cf86d4abd17be00d1d148258053d9a1193e3c93d (patch) | |
| tree | 42f9db74b83b6fcfd842dec3aae29582731f1c45 /src/gradient-drag.cpp | |
| parent | Update attributes unit test, expand style unit test and fix bug found. (diff) | |
| download | inkscape-cf86d4abd17be00d1d148258053d9a1193e3c93d.tar.gz inkscape-cf86d4abd17be00d1d148258053d9a1193e3c93d.zip | |
Fix crashes caused by the desktop's query_style signal being called before
the selection's changed signal was processed in the text tool.
Also fix similar crashes in the gradient dragger.
Fixes LP #1271004.
Fixed bugs:
- https://launchpad.net/bugs/1271004
(bzr r13129)
Diffstat (limited to 'src/gradient-drag.cpp')
| -rw-r--r-- | src/gradient-drag.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp index 0b250fe52..6773069de 100644 --- a/src/gradient-drag.cpp +++ b/src/gradient-drag.cpp @@ -636,13 +636,13 @@ GrDrag::GrDrag(SPDesktop *desktop) : style_set_connection(), style_query_connection() { - sel_changed_connection = selection->connectChanged( + sel_changed_connection = selection->connectChangedFirst( sigc::bind( sigc::ptr_fun(&gr_drag_sel_changed), (gpointer)this ) ); - sel_modified_connection = selection->connectModified( + sel_modified_connection = selection->connectModifiedFirst( sigc::bind( sigc::ptr_fun(&gr_drag_sel_modified), (gpointer)this ) |
