[rhythmbox] shell: sync shell settings when quitting



commit e3d8b2a0fa993c2c48b7025d7016cc04fe4b7940
Author: Jonathan Matthew <jonathan d14n org>
Date:   Tue Mar 17 22:44:25 2015 +1000

    shell: sync shell settings when quitting
    
    Otherwise the delayed sync timeout tends to crash later on.

 shell/rb-shell.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/rb-shell.c b/shell/rb-shell.c
index 42cdeff..4cd6304 100644
--- a/shell/rb-shell.c
+++ b/shell/rb-shell.c
@@ -2484,6 +2484,7 @@ rb_shell_quit (RBShell *shell,
        /* or maybe just _quit */
        /* g_application_release (G_APPLICATION (shell->priv->application)); */
 
+       rb_settings_delayed_sync (shell->priv->settings, NULL, NULL, NULL);
        gtk_widget_destroy (GTK_WIDGET (shell->priv->window));
 
        g_timeout_add_seconds (10, quit_timeout, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]