[gedit/wip/spell-checking] spell-plugin: various minor code improvements



commit 52bd96e2f934c7f6170bfb040caa4184ca95a4da
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jul 18 16:19:57 2015 +0200

    spell-plugin: various minor code improvements

 plugins/spell/gedit-spell-plugin.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/spell/gedit-spell-plugin.c b/plugins/spell/gedit-spell-plugin.c
index a281fd6..3269aa0 100644
--- a/plugins/spell/gedit-spell-plugin.c
+++ b/plugins/spell/gedit-spell-plugin.c
@@ -170,8 +170,9 @@ set_spell_language_cb (GeditSpellChecker               *checker,
        key = gedit_spell_checker_language_to_key (lang);
        g_return_if_fail (key != NULL);
 
-       gedit_document_set_metadata (doc, GEDIT_METADATA_ATTRIBUTE_SPELL_LANGUAGE,
-                                    key, NULL);
+       gedit_document_set_metadata (doc,
+                                    GEDIT_METADATA_ATTRIBUTE_SPELL_LANGUAGE, key,
+                                    NULL);
 }
 
 static void


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