[gtk+] examples/drawing: Don't call gtk_main_quit
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] examples/drawing: Don't call gtk_main_quit
- Date: Wed, 3 May 2017 14:10:34 +0000 (UTC)
commit a9fdf49ed42864a4f81954a898c0067ccfb3bc01
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]