projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Re-enabled display of global sheet button
[pspp-builds.git]
/
lib
/
gtksheet
/
gsheetmodel.c
diff --git
a/lib/gtksheet/gsheetmodel.c
b/lib/gtksheet/gsheetmodel.c
index e200b300fa3f38adb60599f4cc840cc97dc22d43..26a6be62cc9a4f47cd9002ce02fde5e43f7f4f78 100644
(file)
--- a/
lib/gtksheet/gsheetmodel.c
+++ b/
lib/gtksheet/gsheetmodel.c
@@
-464,6
+464,7
@@
g_sheet_model_get_column_subtitle (const GSheetModel *model,
gint col)
{
g_return_val_if_fail (G_IS_SHEET_MODEL (model), NULL);
+ g_return_val_if_fail (col >= 0, NULL);
if ( NULL == G_SHEET_MODEL_GET_IFACE (model)->get_column_subtitle)
return NULL;