Merge branch 'master' into gtk3

This commit is contained in:
Morgan Hardwood
2016-12-05 12:01:45 +01:00
3 changed files with 19 additions and 12 deletions

View File

@@ -526,7 +526,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()
{