Commit f1059398 authored by Morten Welinder's avatar Morten Welinder

Typo. Quite a prolific one.

parent c1708c64
......@@ -100,7 +100,7 @@ enum {
ITEM_SORT_BY_VALUE,
ITEM_MOVE_FORMAT,
ITEM_NUMBER,
NUM_COLMNS
NUM_COLUMNS
};
static const gint MAX_MENU_SIZE = 20;
......@@ -990,7 +990,7 @@ dialog_init (SortFlowState *state)
/* Set-up tree view */
scrolled = go_gtk_builder_get_widget (state->gui, "scrolled_cell_sort_list");
state->model = gtk_list_store_new (NUM_COLMNS, G_TYPE_STRING,
state->model = gtk_list_store_new (NUM_COLUMNS, G_TYPE_STRING,
G_TYPE_STRING, G_TYPE_BOOLEAN,
GDK_TYPE_PIXBUF, G_TYPE_BOOLEAN,
G_TYPE_BOOLEAN, G_TYPE_BOOLEAN,
......
......@@ -51,7 +51,7 @@ enum {
SOURCE_COLUMN,
PIXMAP_COLUMN,
IS_EDITABLE_COLUMN,
NUM_COLMNS
NUM_COLUMNS
};
typedef struct {
......@@ -412,7 +412,7 @@ setup_widgets (ConsolidateState *state, GtkBuilder *gui)
(gui,
"source_treeview"));
state->source_areas = GTK_TREE_MODEL(gtk_list_store_new
(NUM_COLMNS,
(NUM_COLUMNS,
G_TYPE_STRING,
GDK_TYPE_PIXBUF,
G_TYPE_INT));
......
......@@ -92,7 +92,7 @@ enum {
ITEM_PASTABLE,
ITEM_PASTE_IMAGE,
ITEM_VISIBLE,
NUM_COLMNS
NUM_COLUMNS
};
typedef enum {
......@@ -1073,7 +1073,7 @@ name_guru_init (NameGuruState *state, WBCGtk *wbcg, gboolean is_paste_dialog)
state->wbcg,
GNM_DIALOG_DESTROY_SHEET_REMOVED);
state->model = gtk_tree_store_new
(NUM_COLMNS,
(NUM_COLUMNS,
G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_STRING,
G_TYPE_INT, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN,
GDK_TYPE_PIXBUF, GDK_TYPE_PIXBUF,
......
......@@ -99,7 +99,7 @@ enum {
MAX_ARG,
FUNCTION,
ARG_TOOLTIP,
NUM_COLMNS
NUM_COLUMNS
};
static void dialog_formula_guru_update_parent (GtkTreeIter *child, FormulaGuruState *state,
......@@ -876,7 +876,7 @@ dialog_formula_guru_init (FormulaGuruState *state)
/* Set-up treeview */
scrolled = go_gtk_builder_get_widget (state->gui, "scrolled");
state->model = gtk_tree_store_new (NUM_COLMNS, G_TYPE_STRING, G_TYPE_BOOLEAN,
state->model = gtk_tree_store_new (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_BOOLEAN,
G_TYPE_STRING, G_TYPE_STRING,
G_TYPE_INT, G_TYPE_INT, G_TYPE_POINTER,
G_TYPE_STRING);
......
......@@ -96,7 +96,7 @@ enum {
CAT_NAME,
CATEGORY,
CAT_SEPARATOR,
NUM_COLMNS
NUM_COLUMNS
};
enum {
FUN_NAME,
......@@ -1200,7 +1200,7 @@ dialog_function_select_init (FunctionSelectState *state)
state->cb = GTK_COMBO_BOX
(go_gtk_builder_get_widget (state->gui, "category-box"));
state->model = gtk_list_store_new
(NUM_COLMNS, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN);
(NUM_COLUMNS, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN);
gtk_combo_box_set_model (state->cb, GTK_TREE_MODEL (state->model));
g_object_unref (state->model);
......
......@@ -73,7 +73,7 @@ enum {
SHEET_NAME,
SHEET_POINTER,
EXPRESSION,
NUM_COLMNS
NUM_COLUMNS
};
static void
......@@ -369,7 +369,7 @@ dialog_goto_init (GotoState *state)
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled),
GTK_SHADOW_ETCHED_IN);
state->model = gtk_tree_store_new (NUM_COLMNS, G_TYPE_STRING,
state->model = gtk_tree_store_new (NUM_COLUMNS, G_TYPE_STRING,
G_TYPE_STRING, G_TYPE_POINTER,
G_TYPE_POINTER);
state->treeview = GTK_TREE_VIEW (
......
......@@ -65,7 +65,7 @@ typedef struct {
enum {
DATA_RANGE,
FIELD_LOCATION,
NUM_COLMNS
NUM_COLUMNS
};
static void
......@@ -369,7 +369,7 @@ dialog_merge (WBCGtk *wbcg)
gtk_grid_attach (grid, GTK_WIDGET (state->field), 1, 5, 1, 1);
scrolled = go_gtk_builder_get_widget (state->gui, "scrolled");
state->model = gtk_list_store_new (NUM_COLMNS, G_TYPE_STRING, G_TYPE_STRING);
state->model = gtk_list_store_new (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING);
state->list = GTK_TREE_VIEW (gtk_tree_view_new_with_model
(GTK_TREE_MODEL (state->model)));
selection = gtk_tree_view_get_selection (state->list);
......
......@@ -73,17 +73,17 @@ enum {
PLUGIN_ACTIVE,
PLUGIN_SWITCHABLE,
PLUGIN_POINTER,
NUM_COLMNS
NUM_COLUMNS
};
enum {
DIR_NAME,
DIR_IS_SYSTEM,
DIR_NUM_COLMNS
DIR_NUM_COLUMNS
};
enum {
DETAILS_DESC,
DETAILS_ID,
DETAILS_NUM_COLMNS
DETAILS_NUM_COLUMNS
};
......@@ -672,7 +672,7 @@ dialog_plugin_manager (WBCGtk *wbcg)
(gui, "checkbutton_install_new"));
pm_gui->model_plugins = gtk_list_store_new (
NUM_COLMNS, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_POINTER);
NUM_COLUMNS, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_POINTER);
pm_gui->list_plugins = GTK_TREE_VIEW (
gtk_tree_view_new_with_model (GTK_TREE_MODEL (pm_gui->model_plugins)));
pm_gui->selection = gtk_tree_view_get_selection (pm_gui->list_plugins);
......@@ -705,7 +705,7 @@ dialog_plugin_manager (WBCGtk *wbcg)
pm_gui->entry_directory = GTK_ENTRY (go_gtk_builder_get_widget (gui, "entry_directory"));
pm_gui->model_details = gtk_tree_store_new (
DETAILS_NUM_COLMNS, G_TYPE_STRING, G_TYPE_STRING);
DETAILS_NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING);
pm_gui->view_details = GTK_TREE_VIEW (
gtk_tree_view_new_with_model (GTK_TREE_MODEL (pm_gui->model_details)));
column = gtk_tree_view_column_new_with_attributes (
......@@ -726,7 +726,7 @@ dialog_plugin_manager (WBCGtk *wbcg)
/* Set-up directories page */
pm_gui->model_directories = gtk_list_store_new (DIR_NUM_COLMNS, G_TYPE_STRING,
pm_gui->model_directories = gtk_list_store_new (DIR_NUM_COLUMNS, G_TYPE_STRING,
G_TYPE_BOOLEAN);
pm_gui->list_directories = GTK_TREE_VIEW (
gtk_tree_view_new_with_model (GTK_TREE_MODEL (pm_gui->model_directories)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment