Fixes #3517, build fails when using libcairo 1.15
This commit is contained in:
@@ -437,7 +437,7 @@ public:
|
|||||||
// you have to check if the surface is created thanks to surfaceCreated before starting to draw on it
|
// you have to check if the surface is created thanks to surfaceCreated before starting to draw on it
|
||||||
bool surfaceCreated()
|
bool surfaceCreated()
|
||||||
{
|
{
|
||||||
return surface;
|
return static_cast<bool>(surface);
|
||||||
}
|
}
|
||||||
Cairo::RefPtr<Cairo::ImageSurface> getSurface()
|
Cairo::RefPtr<Cairo::ImageSurface> getSurface()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user