Commit 47969615 authored by Kristian Rietveld's avatar Kristian Rietveld

Use cairo_surface_destroy instead of g_object_unref

parent b06f05e7
......@@ -193,7 +193,7 @@ close_window (void)
window = NULL;
if (surface)
g_object_unref (surface);
cairo_surface_destroy (surface);
surface = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment