Fixes #3517, build fails when using libcairo 1.15

This commit is contained in:
heckflosse
2016-11-29 13:11:42 +01:00
parent 6231315cb8
commit 981a534920

View File

@@ -437,7 +437,7 @@ public:
// you have to check if the surface is created thanks to surfaceCreated before starting to draw on it
bool surfaceCreated()
{
return surface;
return static_cast<bool>(surface);
}
Cairo::RefPtr<Cairo::ImageSurface> getSurface()
{