projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
table-casereader: Put space between columns.
[pspp]
/
src
/
ui
/
gui
/
psppire-var-view.c
diff --git
a/src/ui/gui/psppire-var-view.c
b/src/ui/gui/psppire-var-view.c
index f7a017b3364698ba3f1e061c9fc10a66a3fbcc96..76130c04af196a5e1f790af057b6b6c32255b240 100644
(file)
--- a/
src/ui/gui/psppire-var-view.c
+++ b/
src/ui/gui/psppire-var-view.c
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2009 Free Software Foundation
+ Copyright (C) 2009
, 2011
Free Software Foundation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-141,7
+141,7
@@
display_cell_var_name (GtkTreeViewColumn *tree_column,
g_value_unset (&value);
g_value_unset (&value);
- g_object_set (cell, "text", var
_get_name (var)
, NULL);
+ g_object_set (cell, "text", var
? var_get_name (var) : ""
, NULL);
}
}
@@
-297,7
+297,7
@@
psppire_var_view_get_variable (PsppireVarView *vv, gint column, GtkTreeIter *ite
if ( G_VALUE_TYPE (&value) == PSPPIRE_VAR_PTR_TYPE)
var = g_value_get_boxed (&value);
else
if ( G_VALUE_TYPE (&value) == PSPPIRE_VAR_PTR_TYPE)
var = g_value_get_boxed (&value);
else
- g_critical ("Unsupported type
\"%s\"
, in variable name treeview.",
+ g_critical ("Unsupported type
`%s'
, in variable name treeview.",
G_VALUE_TYPE_NAME (&value));
g_value_unset (&value);
G_VALUE_TYPE_NAME (&value));
g_value_unset (&value);