[gedit] Use SPELL_LANGUAGE instead of LANGUAGE to save spell metadata



commit c07ad223caa8ade68d2111f31a58ac244a2f1436
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sun Apr 18 19:23:13 2010 +0200

    Use SPELL_LANGUAGE instead of LANGUAGE to save spell metadata

 plugins/spell/gedit-spell-plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/spell/gedit-spell-plugin.c b/plugins/spell/gedit-spell-plugin.c
index a055ec1..6ef78e7 100644
--- a/plugins/spell/gedit-spell-plugin.c
+++ b/plugins/spell/gedit-spell-plugin.c
@@ -1025,7 +1025,7 @@ on_document_saved (GeditDocument *doc,
 	gedit_document_set_metadata (doc,
 	                             GEDIT_METADATA_ATTRIBUTE_SPELL_ENABLED,
 	                             autospell != NULL ? "1" : NULL,
-	                             GEDIT_METADATA_ATTRIBUTE_LANGUAGE,
+	                             GEDIT_METADATA_ATTRIBUTE_SPELL_LANGUAGE,
 	                             key,
 	                             NULL);
 }



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