From: John Darrington Date: Fri, 18 Mar 2016 20:08:18 +0000 (+0100) Subject: PsppireDict: Added GType values for missing columns X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467aae8e17e0790b4d7b7e4a528bd1f865d39a24;p=pspp PsppireDict: Added GType values for missing columns --- diff --git a/src/ui/gui/psppire-dict.c b/src/ui/gui/psppire-dict.c index 1efe952805..53ba83aa1d 100644 --- a/src/ui/gui/psppire-dict.c +++ b/src/ui/gui/psppire-dict.c @@ -701,17 +701,17 @@ tree_model_column_type (GtkTreeModel *model, gint index) switch (index) { case DICT_TVM_COL_NAME: - t = G_TYPE_STRING; - break; - case DICT_TVM_COL_VAR: - t = PSPPIRE_VAR_PTR_TYPE; - break; case DICT_TVM_COL_LABEL: t = G_TYPE_STRING; break; + case DICT_TVM_COL_DECIMAL: + case DICT_TVM_COL_WIDTH: case DICT_TVM_COL_COLUMNS: t = G_TYPE_INT; break; + case DICT_TVM_COL_VAR: + t = PSPPIRE_VAR_PTR_TYPE; + break; case DICT_TVM_COL_ALIGNMENT: t = align_enum_type; break;