Use cairo_surface_destroy instead of g_object_unref

This commit is contained in:
Kristian Rietveld 2010-10-16 20:16:19 +02:00
parent b06f05e72c
commit 47969615b2

View File

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