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/widgets/gradient-vector.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/widgets/gradient-vector.cpp')
| -rw-r--r-- | src/widgets/gradient-vector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/gradient-vector.cpp b/src/widgets/gradient-vector.cpp index 78ae4213d..f7f71e100 100644 --- a/src/widgets/gradient-vector.cpp +++ b/src/widgets/gradient-vector.cpp @@ -1025,8 +1025,8 @@ sp_gradient_vector_widget_load_gradient (GtkWidget *widget, SPGradient *gradient // Once the user edits a gradient, it stops being auto-collectable if (SP_OBJECT_REPR(gradient)->attribute("inkscape:collect")) { SPDocument *document = SP_OBJECT_DOCUMENT (gradient); - 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); SP_OBJECT_REPR(gradient)->setAttribute("inkscape:collect", NULL); sp_document_set_undo_sensitive (document, saved); } |
