summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-10-16 10:25:06 +0200
committerStefano Karapetsas <[email protected]>2014-10-16 10:25:06 +0200
commit7d84b20d356ca5195c4ba8a6532510e4a7986b36 (patch)
tree8574ff6972cfb564655fc0e239ff292794230e46
parent20728617d2b9450c0dfdb84e76025d89c00c93ff (diff)
downloadmate-system-monitor-7d84b20d356ca5195c4ba8a6532510e4a7986b36.tar.bz2
mate-system-monitor-7d84b20d356ca5195c4ba8a6532510e4a7986b36.tar.xz
Dont sync GSettings before quit
It is unneeded Closes https://github.com/mate-desktop/mate-system-monitor/issues/37
-rw-r--r--src/procman.cpp6
1 files changed, 0 insertions, 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