[pan2/testing] compile fix for gtkspell
- From: Heinrich MÃller <henmull src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2/testing] compile fix for gtkspell
- Date: Fri, 23 Dec 2011 17:04:49 +0000 (UTC)
commit fb7a33e983255b0ca3e438a73bfaedb0b58b3039
Author: Heinrich MÃller <henmull src gnome org>
Date: Fri Dec 23 18:02:08 2011 +0100
compile fix for gtkspell
pan/gui/group-prefs-dialog.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pan/gui/group-prefs-dialog.cc b/pan/gui/group-prefs-dialog.cc
index 0582a93..8b0d364 100644
--- a/pan/gui/group-prefs-dialog.cc
+++ b/pan/gui/group-prefs-dialog.cc
@@ -123,7 +123,7 @@ GroupPrefsDialog :: save_from_gui ()
GtkTreeModel* model = gtk_combo_box_get_model (GTK_COMBO_BOX(_spellchecker_language));
gtk_tree_model_get (model, &iter, 0, &name, -1);
- if (name) _group_prefs.set_string (_group, "spellcheck-language", name);
+ if (name) _group_prefs.set_string (_groups[0], "spellcheck-language", name);
g_free(name);
#endif
@@ -272,7 +272,7 @@ GroupPrefsDialog :: GroupPrefsDialog (Data & data,
gtk_widget_set_sensitive (l, gtk_widget_get_sensitive(w));
#ifdef HAVE_GTKSPELL
- w = _spellchecker_language = create_spellcheck_combo_box ( group, group_prefs);
+ w = _spellchecker_language = create_spellcheck_combo_box ( groups[0], group_prefs);
HIG :: workarea_add_row (t, &row, _("Spellchecker _language:"), w);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]