[gedit/wip/spell-checking] spell-checker-dialog: misc clean-up
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/spell-checking] spell-checker-dialog: misc clean-up
- Date: Fri, 24 Jul 2015 14:27:32 +0000 (UTC)
commit e3ac2c5a7a30eb81165d0cb4f0cc14cb18677c9f
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Jul 24 16:22:27 2015 +0200
spell-checker-dialog: misc clean-up
plugins/spell/gedit-spell-checker-dialog.c | 31 ++++++++++++---------------
1 files changed, 14 insertions(+), 17 deletions(-)
---
diff --git a/plugins/spell/gedit-spell-checker-dialog.c b/plugins/spell/gedit-spell-checker-dialog.c
index ae3f2c7..bc8b64e 100644
--- a/plugins/spell/gedit-spell-checker-dialog.c
+++ b/plugins/spell/gedit-spell-checker-dialog.c
@@ -19,31 +19,28 @@
*/
#include "gedit-spell-checker-dialog.h"
-#include <string.h>
#include <glib/gi18n.h>
-#include <gtk/gtk.h>
-#include <gedit/gedit-utils.h>
struct _GeditSpellCheckerDialog
{
GtkWindow parent_instance;
- GeditSpellChecker *spell_checker;
+ GeditSpellChecker *spell_checker;
- gchar *misspelled_word;
+ gchar *misspelled_word;
- GtkWidget *header_bar;
- GtkWidget *misspelled_word_label;
- GtkWidget *word_entry;
- GtkWidget *check_word_button;
- GtkWidget *ignore_button;
- GtkWidget *ignore_all_button;
- GtkWidget *change_button;
- GtkWidget *change_all_button;
- GtkWidget *add_word_button;
- GtkWidget *suggestions_list;
+ GtkWidget *header_bar;
+ GtkWidget *misspelled_word_label;
+ GtkWidget *word_entry;
+ GtkWidget *check_word_button;
+ GtkWidget *ignore_button;
+ GtkWidget *ignore_all_button;
+ GtkWidget *change_button;
+ GtkWidget *change_all_button;
+ GtkWidget *add_word_button;
+ GtkWidget *suggestions_list;
- GtkTreeModel *suggestions_list_model;
+ GtkTreeModel *suggestions_list_model;
};
enum
@@ -90,7 +87,7 @@ static void suggestions_list_row_activated_handler (GtkTreeView *view,
static guint signals [LAST_SIGNAL] = { 0 };
-G_DEFINE_TYPE(GeditSpellCheckerDialog, gedit_spell_checker_dialog, GTK_TYPE_WINDOW)
+G_DEFINE_TYPE (GeditSpellCheckerDialog, gedit_spell_checker_dialog, GTK_TYPE_WINDOW)
static void
gedit_spell_checker_dialog_dispose (GObject *object)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]