diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp
index 0532a76687b29dca413d3efd0cad77b486ec1a17..22ddb54250c2a46c2f99ffe63bf1bb888bdad37c 100644 (file)
--- a/src/conn-avoid-ref.cpp
+++ b/src/conn-avoid-ref.cpp
// Don't count this as changes to the document,
// it is basically just llate initialisation.
SPDocument *document = sp_desktop_document(desktop);
- bool saved = sp_document_get_undo_sensitive(document);
+ gboolean saved = sp_document_get_undo_sensitive(document);
sp_document_set_undo_sensitive(document, FALSE);
bool initialised = false;