[gtk+/wip/meson: 25/73] examples/drawing: Don't call gtk_main_quit



commit 3d9b8e5ed1afb61df8707b045620e62e4c8fe183
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 338fc25..b5d1114 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]