examples/drawing: Don't call gtk_main_quit
This is a GtkApplication so it will do the right thing when closing the window.
This commit is contained in:
@ -125,8 +125,6 @@ close_window (void)
|
|||||||
{
|
{
|
||||||
if (surface)
|
if (surface)
|
||||||
cairo_surface_destroy (surface);
|
cairo_surface_destroy (surface);
|
||||||
|
|
||||||
gtk_main_quit ();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user