summaryrefslogtreecommitdiffstats
path: root/grapher/GraphWidget.cxx
diff options
context:
space:
mode:
authorTim Moore <timoore@redhat.com>2009-12-07 12:23:27 +0100
committerTim Moore <timoore@redhat.com>2009-12-07 12:23:27 +0100
commite88061ec1fb047b65c247424dbadb10a85ff69ae (patch)
treef30814a9df83950c57dc48cba93eccc96de2f608 /grapher/GraphWidget.cxx
parentdb41ebdabef8a7964ed92054ee7346cfded7179c (diff)
downloadsystemtap-steved-e88061ec1fb047b65c247424dbadb10a85ff69ae.tar.gz
systemtap-steved-e88061ec1fb047b65c247424dbadb10a85ff69ae.tar.xz
systemtap-steved-e88061ec1fb047b65c247424dbadb10a85ff69ae.zip
Add a missing cairo context restore()
It's not clear if this was causing any ill effects, but it is certainly bad form. * grapher/GraphWidget.cxx (on_expose_event): add missing cr->restore().
Diffstat (limited to 'grapher/GraphWidget.cxx')
-rw-r--r--grapher/GraphWidget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/grapher/GraphWidget.cxx b/grapher/GraphWidget.cxx
index 739d9450..cfec0adf 100644
--- a/grapher/GraphWidget.cxx
+++ b/grapher/GraphWidget.cxx
@@ -126,6 +126,7 @@ namespace systemtap
}
if (_hoverText && _hoverText->isVisible())
_hoverText->draw(cr);
+ cr->restore();
return true;
}