examples/drawing: Don't call gtk_main_quit
authorTimm Bäder <mail@baedert.org>
Sat, 24 Sep 2016 07:36:32 +0000 (09:36 +0200)
committerDaniel Boles <dboles.src@gmail.com>
Mon, 22 May 2017 13:26:32 +0000 (14:26 +0100)
This is a GtkApplication so it will do the right thing when closing the
window.

examples/drawing.c

index a496bcabf42effba67f9a33aa8b50cf40f9457b7..cfdcab3c466fce09226eb70ca935fcb1de27d004 100644 (file)
@@ -125,8 +125,6 @@ close_window (void)
 {
   if (surface)
     cairo_surface_destroy (surface);
-
-  gtk_main_quit ();
 }
 
 static void