[gedit/wip/spell-checking] spell-language-dialog: cosmetic changes and clean-up
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/spell-checking] spell-language-dialog: cosmetic changes and clean-up
- Date: Tue, 21 Jul 2015 16:23:59 +0000 (UTC)
commit 9c3731acdae5ae1cdde043e44f732a11d0dd2383
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Jul 21 17:55:46 2015 +0200
spell-language-dialog: cosmetic changes and clean-up
plugins/spell/gedit-spell-language-dialog.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/plugins/spell/gedit-spell-language-dialog.c b/plugins/spell/gedit-spell-language-dialog.c
index db386e6..72fefcd 100644
--- a/plugins/spell/gedit-spell-language-dialog.c
+++ b/plugins/spell/gedit-spell-language-dialog.c
@@ -20,16 +20,13 @@
#include "gedit-spell-language-dialog.h"
#include <glib/gi18n.h>
-#include <gtk/gtk.h>
-#include <gedit/gedit-utils.h>
#include <gedit/gedit-app.h>
-#include "gedit-spell-checker-language.h"
enum
{
- COLUMN_LANGUAGE_NAME = 0,
+ COLUMN_LANGUAGE_NAME,
COLUMN_LANGUAGE_POINTER,
- ENCODING_NUM_COLS
+ N_COLUMNS
};
struct _GeditSpellLanguageDialog
@@ -148,7 +145,7 @@ create_dialog (GeditSpellLanguageDialog *dialog,
g_object_unref (content);
gtk_container_set_border_width (GTK_CONTAINER (content), 5);
- dialog->model = GTK_TREE_MODEL (gtk_list_store_new (ENCODING_NUM_COLS,
+ dialog->model = GTK_TREE_MODEL (gtk_list_store_new (N_COLUMNS,
G_TYPE_STRING,
G_TYPE_POINTER));
@@ -184,7 +181,6 @@ create_dialog (GeditSpellLanguageDialog *dialog,
static void
gedit_spell_language_dialog_init (GeditSpellLanguageDialog *dialog)
{
-
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]