[gtk+/wip/baedert/meson: 831/841] examples/drawing: Don't call gtk_main_quit



commit 070fc9d306b220038d9a2ff98086667b189a64c1
Author: Timm Bäder <mail baedert org>
Date:   Sat Sep 24 09:36:32 2016 +0200

    examples/drawing: Don't call gtk_main_quit
    
    This is a GtkApplication so it will do the right thing when closing the
    window.

 examples/drawing.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/examples/drawing.c b/examples/drawing.c
index 2d4b9b4..0e97065 100644
--- a/examples/drawing.c
+++ b/examples/drawing.c
@@ -125,8 +125,6 @@ close_window (void)
 {
   if (surface)
     cairo_surface_destroy (surface);
-
-  gtk_main_quit ();
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]