[gnome-system-monitor] Fix a segfault when turning on dependencies



commit 73ba6873477d0e06cfb1994daaf99e3c3abc0b9a
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Feb 28 22:49:33 2011 -0500

    Fix a segfault when turning on dependencies
    
    GSettings is not forgiving about - vs _.

 src/interface.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/interface.cpp b/src/interface.cpp
index be033af..2ffd812 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -803,5 +803,5 @@ cb_toggle_tree (GtkAction *action, gpointer data)
 	if (show == procdata->config.show_tree)
 		return;
 
-	g_settings_set_boolean (settings, "show_tree", show);
+	g_settings_set_boolean (settings, "show-tree", show);
 }



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