[gtk+/gtk-3-22] examples/drawing: Don't call gtk_main_quit



commit 7d5ac88232da5afca8ac27fb0267310eaf298d41
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 a496bca..cfdcab3 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]