summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-09-24 09:36:32 +0200
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-03 14:53:34 +0100
commita9fdf49ed42864a4f81954a898c0067ccfb3bc01 (patch)
treef97e5d099e8951f627a28ce5be8177af55b41521 /examples
parent5c79d65717447a09a378baf45cec4954c3bfb8cd (diff)
downloadgtk+-a9fdf49ed42864a4f81954a898c0067ccfb3bc01.tar.gz
examples/drawing: Don't call gtk_main_quit
This is a GtkApplication so it will do the right thing when closing the window.
Diffstat (limited to 'examples')
-rw-r--r--examples/drawing.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/drawing.c b/examples/drawing.c
index 338fc251bf..b5d1114c98 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