[gedit/wip/spell-checking: 1/2] spell: format the headers consistently
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/spell-checking: 1/2] spell: format the headers consistently
- Date: Fri, 24 Jul 2015 09:54:17 +0000 (UTC)
commit c447f42917f764178e7f39020ae8b7791ce9e7b0
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Jul 24 11:35:43 2015 +0200
spell: format the headers consistently
plugins/spell/gedit-automatic-spell-checker.h | 6 +---
plugins/spell/gedit-spell-app-activatable.h | 6 +---
plugins/spell/gedit-spell-checker.h | 37 +++++++++++++------------
plugins/spell/gedit-spell-language-dialog.h | 6 +---
4 files changed, 25 insertions(+), 30 deletions(-)
---
diff --git a/plugins/spell/gedit-automatic-spell-checker.h b/plugins/spell/gedit-automatic-spell-checker.h
index 272d431..2d37ea5 100644
--- a/plugins/spell/gedit-automatic-spell-checker.h
+++ b/plugins/spell/gedit-automatic-spell-checker.h
@@ -31,10 +31,8 @@
#include "gedit-spell-checker.h"
#define GEDIT_TYPE_AUTOMATIC_SPELL_CHECKER (gedit_automatic_spell_checker_get_type ())
-G_DECLARE_FINAL_TYPE (GeditAutomaticSpellChecker,
- gedit_automatic_spell_checker,
- GEDIT,
- AUTOMATIC_SPELL_CHECKER,
+G_DECLARE_FINAL_TYPE (GeditAutomaticSpellChecker, gedit_automatic_spell_checker,
+ GEDIT, AUTOMATIC_SPELL_CHECKER,
GObject)
GeditAutomaticSpellChecker *
diff --git a/plugins/spell/gedit-spell-app-activatable.h b/plugins/spell/gedit-spell-app-activatable.h
index 68739b3..f6bf3f4 100644
--- a/plugins/spell/gedit-spell-app-activatable.h
+++ b/plugins/spell/gedit-spell-app-activatable.h
@@ -27,10 +27,8 @@
G_BEGIN_DECLS
#define GEDIT_TYPE_SPELL_APP_ACTIVATABLE (gedit_spell_app_activatable_get_type ())
-G_DECLARE_FINAL_TYPE (GeditSpellAppActivatable,
- gedit_spell_app_activatable,
- GEDIT,
- SPELL_APP_ACTIVATABLE,
+G_DECLARE_FINAL_TYPE (GeditSpellAppActivatable, gedit_spell_app_activatable,
+ GEDIT, SPELL_APP_ACTIVATABLE,
GObject)
void gedit_spell_app_activatable_register (GTypeModule *module);
diff --git a/plugins/spell/gedit-spell-checker.h b/plugins/spell/gedit-spell-checker.h
index 80cd462..c96289f 100644
--- a/plugins/spell/gedit-spell-checker.h
+++ b/plugins/spell/gedit-spell-checker.h
@@ -45,32 +45,33 @@ struct _GeditSpellCheckerClass
void (* clear_session) (GeditSpellChecker *checker);
};
-GeditSpellChecker *gedit_spell_checker_new (const GeditSpellCheckerLanguage *language);
+GeditSpellChecker *
+ gedit_spell_checker_new (const GeditSpellCheckerLanguage *language);
-gboolean gedit_spell_checker_set_language (GeditSpellChecker *checker,
+gboolean
+ gedit_spell_checker_set_language (GeditSpellChecker *checker,
const GeditSpellCheckerLanguage *language);
-const GeditSpellCheckerLanguage
- *gedit_spell_checker_get_language (GeditSpellChecker *checker);
-gboolean gedit_spell_checker_check_word (GeditSpellChecker *checker,
- const gchar *word);
+const GeditSpellCheckerLanguage *
+ gedit_spell_checker_get_language (GeditSpellChecker *checker);
-GSList *gedit_spell_checker_get_suggestions (GeditSpellChecker
*checker,
- const gchar *word);
+gboolean gedit_spell_checker_check_word (GeditSpellChecker *checker,
+ const gchar *word);
-gboolean gedit_spell_checker_add_word_to_personal
- (GeditSpellChecker *checker,
- const gchar *word);
+GSList * gedit_spell_checker_get_suggestions (GeditSpellChecker *checker,
+ const gchar *word);
-gboolean gedit_spell_checker_add_word_to_session
- (GeditSpellChecker *checker,
- const gchar *word);
+gboolean gedit_spell_checker_add_word_to_personal (GeditSpellChecker *checker,
+ const gchar *word);
-gboolean gedit_spell_checker_clear_session (GeditSpellChecker *checker);
+gboolean gedit_spell_checker_add_word_to_session (GeditSpellChecker *checker,
+ const gchar *word);
-gboolean gedit_spell_checker_set_correction (GeditSpellChecker *checker,
- const gchar *word,
- const gchar
*replacement);
+gboolean gedit_spell_checker_clear_session (GeditSpellChecker *checker);
+
+gboolean gedit_spell_checker_set_correction (GeditSpellChecker *checker,
+ const gchar *word,
+ const gchar *replacement);
G_END_DECLS
diff --git a/plugins/spell/gedit-spell-language-dialog.h b/plugins/spell/gedit-spell-language-dialog.h
index 52d06f2..f219f74 100644
--- a/plugins/spell/gedit-spell-language-dialog.h
+++ b/plugins/spell/gedit-spell-language-dialog.h
@@ -27,10 +27,8 @@
G_BEGIN_DECLS
#define GEDIT_TYPE_SPELL_LANGUAGE_DIALOG (gedit_spell_language_dialog_get_type ())
-G_DECLARE_FINAL_TYPE (GeditSpellLanguageDialog,
- gedit_spell_language_dialog,
- GEDIT,
- SPELL_LANGUAGE_DIALOG,
+G_DECLARE_FINAL_TYPE (GeditSpellLanguageDialog, gedit_spell_language_dialog,
+ GEDIT, SPELL_LANGUAGE_DIALOG,
GtkDialog)
GtkWidget * gedit_spell_language_dialog_new (GtkWindow *parent,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]