From 03db3e1ca152773708dc98362375fd2385fba367 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 5 Dec 2011 00:25:28 -0500 Subject: [PATCH] (trivially) implement 'shutdown' in GtkApplication --- gtk/gtkapplication.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index faf9901650..1d1bba9a00 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -106,6 +106,13 @@ gtk_application_startup (GApplication *application) gtk_init (0, 0); } +static void +gtk_application_shutdown (GApplication *application) +{ + G_APPLICATION_CLASS (gtk_application_parent_class) + ->shutdown (application); +} + static void gtk_application_add_platform_data (GApplication *application, GVariantBuilder *builder) @@ -198,6 +205,7 @@ gtk_application_class_init (GtkApplicationClass *class) application_class->before_emit = gtk_application_before_emit; application_class->after_emit = gtk_application_after_emit; application_class->startup = gtk_application_startup; + application_class->shutdown = gtk_application_shutdown; class->window_added = gtk_application_window_added; class->window_removed = gtk_application_window_removed;