[aisleriot] app: Remove shutdown handler
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] app: Remove shutdown handler
- Date: Mon, 4 Mar 2013 20:37:01 +0000 (UTC)
commit 608905b54a54ed06b46f0e1f5ab0100d423fea92
Author: Christian Persch <chpe gnome org>
Date: Mon Mar 4 20:56:39 2013 +0100
app: Remove shutdown handler
GApplication already syncs GSettings, no need to do it manually again.
src/ar-application.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/ar-application.c b/src/ar-application.c
index 3048e1c..8f5df02 100644
--- a/src/ar-application.c
+++ b/src/ar-application.c
@@ -312,14 +312,6 @@ ar_application_startup (GApplication *application)
self->priv->window = AISLERIOT_WINDOW (aisleriot_window_new (GTK_APPLICATION (application)));
}
-static void
-ar_application_shutdown (GApplication *application)
-{
- g_settings_sync ();
-
- G_APPLICATION_CLASS (ar_application_parent_class)->shutdown (application);
-}
-
static GObject *
ar_application_constructor (GType type,
guint n_construct_params,
@@ -369,7 +361,6 @@ ar_application_class_init (ArApplicationClass *class)
application_class->activate = ar_application_activate;
application_class->startup = ar_application_startup;
- application_class->shutdown = ar_application_shutdown;
application_class->command_line = ar_application_command_line;
g_type_class_add_private (class, sizeof (ArApplicationPrivate));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]