diff options
| author | Michael G. Sloan <mgsloan@gmail.com> | 2006-08-26 01:31:22 +0000 |
|---|---|---|
| committer | mgsloan <mgsloan@users.sourceforge.net> | 2006-08-26 01:31:22 +0000 |
| commit | 36a1242bc96b3afee539421ec2c38d9934dd5095 (patch) | |
| tree | 0148b856984f87a8229675a65753d5ca451d1565 /src/conn-avoid-ref.cpp | |
| parent | Fixed a crash in modifying filter parameters in XML editor. (diff) | |
| download | inkscape-36a1242bc96b3afee539421ec2c38d9934dd5095.tar.gz inkscape-36a1242bc96b3afee539421ec2c38d9934dd5095.zip | |
gboolean -> bool conversion commit 1. Modifies code to do with getting the undo system to ignore actions, as well as
SVG/XML save/load. Shouldn't cause problems though.
(bzr r1639)
Diffstat (limited to 'src/conn-avoid-ref.cpp')
| -rw-r--r-- | src/conn-avoid-ref.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp index 22ddb5425..fbceb4eb5 100644 --- a/src/conn-avoid-ref.cpp +++ b/src/conn-avoid-ref.cpp @@ -273,8 +273,8 @@ void init_avoided_shape_geometry(SPDesktop *desktop) // Don't count this as changes to the document, // it is basically just llate initialisation. SPDocument *document = sp_desktop_document(desktop); - gboolean saved = sp_document_get_undo_sensitive(document); - sp_document_set_undo_sensitive(document, FALSE); + bool saved = sp_document_get_undo_sensitive(document); + sp_document_set_undo_sensitive(document, false); bool initialised = false; GSList *items = get_avoided_items(NULL, desktop->currentRoot(), desktop, |
