summaryrefslogtreecommitdiff
path: root/libs/canvas/image.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-04-20 23:36:13 +0200
committerRobin Gareus <robin@gareus.org>2013-04-20 23:36:13 +0200
commitfee8de97876f4f1162dc2047b80e2728c0c72044 (patch)
treeb146dedc8b854adda7073b89a9bb7ba26315aa0d /libs/canvas/image.cc
parentdfdb91b429e4f40e1883669bec58b9674ab8d2c2 (diff)
Revert "cairo image crash debugging" and "initialize image data"
This reverts commit dfdb91b429e4f40e1883669bec58b9674ab8d2c2 and commit 188d766757d6029577e3409ee13efe9aa6f60173. despite earlier assumptions the code is correct and there is likely a memory corruption elsewhere.
Diffstat (limited to 'libs/canvas/image.cc')
-rw-r--r--libs/canvas/image.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/canvas/image.cc b/libs/canvas/image.cc
index 9deb184f2c..b13859aeda 100644
--- a/libs/canvas/image.cc
+++ b/libs/canvas/image.cc
@@ -29,8 +29,6 @@ Image::Image (Group* group, Cairo::Format fmt, int width, int height)
, _height (height)
, _need_render (false)
{
- boost::shared_ptr<Data> d0 (new Data (NULL, 0, 0, 0, _format)); _current = d0;
- boost::shared_ptr<Data> d1 (new Data (NULL, 0, 0, 0, _format)); _pending = d1;
DataReady.connect (data_connections, MISSING_INVALIDATOR, boost::bind (&Image::accept_data, this), gui_context());
}