[gnumeric] Prefs: simplify.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Prefs: simplify.
- Date: Thu, 10 Nov 2011 16:15:33 +0000 (UTC)
commit baf0c1d639296b6720e6bf35f17f26ba22c600f2
Author: Morten Welinder <terra gnome org>
Date: Thu Nov 10 11:13:07 2011 -0500
Prefs: simplify.
src/dialogs/ChangeLog | 5 +++++
src/dialogs/dialog-preferences.c | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index fd32243..3d23af6 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-10 Morten Welinder <terra gnome org>
+
+ * dialog-preferences.c (dialog_preferences): We don't need to root
+ node, so don't get it.
+
2011-11-10 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-preferences.c (pref_tool_page_initializer): add
diff --git a/src/dialogs/dialog-preferences.c b/src/dialogs/dialog-preferences.c
index 020acf1..3cd8365 100644
--- a/src/dialogs/dialog-preferences.c
+++ b/src/dialogs/dialog-preferences.c
@@ -62,7 +62,6 @@ typedef struct {
GtkNotebook *notebook;
GtkTreeStore *store;
GtkTreeView *view;
- GOConfNode *root;
gulong app_wb_removed_sig;
} PrefState;
@@ -1324,7 +1323,6 @@ dialog_preferences (WBCGtk *wbcg, gchar const *page)
return;
state = g_new0 (PrefState, 1);
- state->root = gnm_conf_get_root ();
state->gui = gui;
state->dialog = go_gtk_builder_get_widget (gui, "preferences");
state->notebook = (GtkNotebook*)go_gtk_builder_get_widget (gui, "notebook");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]