[gtk+/wip/meson: 85/181] examples/drawing: Don't call gtk_main_quit



commit c91f697b0d079fbbaa43d134dc33c27285ac75bb
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]