diff options
| author | John Bintz <me@johnbintz.com> | 2006-08-13 17:45:18 +0000 |
|---|---|---|
| committer | johncoswell <johncoswell@users.sourceforge.net> | 2006-08-13 17:45:18 +0000 |
| commit | addfca5cf637c0fe78d5bdeb2cb122f1f77131f8 (patch) | |
| tree | 88d085d9e6083b9f07ca5d2a0230948e49ab8955 /src/ui/view/edit-widget.cpp | |
| parent | Fixed: Wrong colour space was used in images with transparency. (diff) | |
| download | inkscape-addfca5cf637c0fe78d5bdeb2cb122f1f77131f8.tar.gz inkscape-addfca5cf637c0fe78d5bdeb2cb122f1f77131f8.zip | |
added functions to allow update events to process during long-running operations
(bzr r1595)
Diffstat (limited to 'src/ui/view/edit-widget.cpp')
| -rw-r--r-- | src/ui/view/edit-widget.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/view/edit-widget.cpp b/src/ui/view/edit-widget.cpp index 626c30941..6a4306147 100644 --- a/src/ui/view/edit-widget.cpp +++ b/src/ui/view/edit-widget.cpp @@ -1294,6 +1294,15 @@ EditWidget::requestCanvasUpdate() } void +EditWidget::requestCanvasUpdateAndWait() +{ + requestCanvasUpdate(); + + while (gtk_events_pending()) + gtk_main_iteration_do(FALSE); +} + +void EditWidget::activateDesktop() { /// \todo active_desktop_indicator not implemented |
