diff options
-rw-r--r-- | gtk/PlatGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 0b8eeaf92..cd57607bc 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -552,7 +552,7 @@ void SurfaceImpl::Init(WindowID wid) { // if we are only created from a window ID, we can't perform drawing psurf = 0; context = 0; - createdGC = true; + createdGC = false; pcontext = gtk_widget_create_pango_context(PWidget(wid)); PLATFORM_ASSERT(pcontext); layout = pango_layout_new(pcontext); |