From 36a1242bc96b3afee539421ec2c38d9934dd5095 Mon Sep 17 00:00:00 2001 From: "Michael G. Sloan" Date: Sat, 26 Aug 2006 01:31:22 +0000 Subject: 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) --- src/conn-avoid-ref.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/conn-avoid-ref.cpp') 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, -- cgit v1.2.3