Fix gtk-demo drawingarea example
Patch by Martin Schlemmer, bug 665011.
This commit is contained in:
@ -205,7 +205,7 @@ close_window (void)
|
|||||||
window = NULL;
|
window = NULL;
|
||||||
|
|
||||||
if (surface)
|
if (surface)
|
||||||
g_object_unref (surface);
|
cairo_surface_destroy (surface);
|
||||||
surface = NULL;
|
surface = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user