summaryrefslogtreecommitdiff
path: root/src/glibext/seq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glibext/seq.c')
-rw-r--r--src/glibext/seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glibext/seq.c b/src/glibext/seq.c
index 3474d72..ba5cc35 100644
--- a/src/glibext/seq.c
+++ b/src/glibext/seq.c
@@ -343,7 +343,7 @@ static void g_seq_work_process(GSeqWork *work, GtkStatusStack *status)
}
- if (work->type == SWT_BOOLEAN)
+ if (work->status != NULL && (work->type == SWT_BOOLEAN || work->type == SWT_OBJECT))
*(work->status) = (i == work->end && state);
}