[gtk+] (trivially) implement 'shutdown' in GtkApplication
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] (trivially) implement 'shutdown' in GtkApplication
- Date: Mon, 19 Dec 2011 18:01:52 +0000 (UTC)
commit 03db3e1ca152773708dc98362375fd2385fba367
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Dec 5 00:25:28 2011 -0500
(trivially) implement 'shutdown' in GtkApplication
gtk/gtkapplication.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index faf9901..1d1bba9 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -107,6 +107,13 @@ gtk_application_startup (GApplication *application)
}
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]