From 7d84b20d356ca5195c4ba8a6532510e4a7986b36 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 16 Oct 2014 10:25:06 +0200 Subject: Dont sync GSettings before quit It is unneeded Closes https://github.com/mate-desktop/mate-system-monitor/issues/37 --- src/procman.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/procman.cpp b/src/procman.cpp index d8b466f..c21e61f 100644 --- a/src/procman.cpp +++ b/src/procman.cpp @@ -537,7 +537,6 @@ procman_save_config (ProcData *data) { GSettings *settings = data->settings; - g_assert(data); procman_save_tree_state (data->settings, data->tree, "proctree"); @@ -558,11 +557,6 @@ procman_save_config (ProcData *data) g_settings_set_int (settings, "width", data->config.width); g_settings_set_int (settings, "height", data->config.height); g_settings_set_int (settings, "current-tab", data->config.current_tab); - - g_settings_sync (); - - - } static guint32 -- cgit v1.2.1