Fix gtk-demo drawingarea example

Patch by Martin Schlemmer, bug 665011.
This commit is contained in:
Matthias Clasen
2011-11-30 12:09:21 -05:00
parent 26b749440b
commit 4fc684943b

View File

@ -205,7 +205,7 @@ close_window (void)
window = NULL;
if (surface)
g_object_unref (surface);
cairo_surface_destroy (surface);
surface = NULL;
}