diff options
| -rw-r--r-- | gtk/PlatGTK.cxx | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 24f44ee21..b8d94f94d 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -893,6 +893,7 @@ void SurfaceImpl::Init(WindowID wid) {  		psurf = cairo_image_surface_create(CAIRO_FORMAT_RGB24, 1, 1);  		context = cairo_create(psurf);  	} +	createdGC = true;  	pcontext = pango_cairo_create_context(context);  	PLATFORM_ASSERT(pcontext);  	layout = pango_cairo_create_layout(context); | 
