diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2012-01-12 01:59:22 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2012-01-12 01:59:22 +0000 |
| commit | 10f55ededa291836ef120c831eac52d698440fbb (patch) | |
| tree | f377c504dd3515c4983c255782c508494207ad9d /src/ui/widget/selected-style.cpp | |
| parent | A few GSEAL issues (diff) | |
| download | inkscape-10f55ededa291836ef120c831eac52d698440fbb.tar.gz inkscape-10f55ededa291836ef120c831eac52d698440fbb.zip | |
Initial C++ification of SPCanvas.
(bzr r10873)
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
| -rw-r--r-- | src/ui/widget/selected-style.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp index afbb52e05..40dbbc962 100644 --- a/src/ui/widget/selected-style.cpp +++ b/src/ui/widget/selected-style.cpp @@ -2,6 +2,7 @@ * Author: * buliabyak@gmail.com * Abhishek Sharma + * Jon A. Cruz <jon@joncruz.org> * * Copyright (C) 2005 author * @@ -1150,13 +1151,13 @@ void SelectedStyle::on_opacity_changed () { // me. As a result, scrolling the spinbutton once results in runaway change until it hits 1.0 // or 0.0. (And no, this is not a race with ::update, I checked that.) // Sigh. So we disable interruptibility while we're setting the new value. - sp_canvas_force_full_redraw_after_interruptions(sp_desktop_canvas(_desktop), 0); + sp_desktop_canvas(_desktop)->forceFullRedrawAfterInterruptions(0); sp_desktop_set_style (_desktop, css); sp_repr_css_attr_unref (css); DocumentUndo::maybeDone(sp_desktop_document(_desktop), "fillstroke:opacity", SP_VERB_DIALOG_FILL_STROKE, _("Change opacity")); // resume interruptibility - sp_canvas_end_forced_full_redraws(sp_desktop_canvas(_desktop)); + sp_desktop_canvas(_desktop)->endForcedFullRedraws(); spinbutton_defocus(GTK_OBJECT(_opacity_sb.gobj())); _opacity_blocked = false; } |
