diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-09-28 21:40:39 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-09-28 21:40:39 (GMT) |
commit | 0b5e9a3c7bcd3eb15be0e888ebfe46d14497b101 (patch) | |
tree | 059d8e5712476a9df8c429ed787efd484d5f372d /src/glibext/seq.c | |
parent | dc25699a414f0baa2265be0cfa162c77b2cdc22d (diff) |
Rely on a generic task to analyze loaded content.
Diffstat (limited to 'src/glibext/seq.c')
-rw-r--r-- | src/glibext/seq.c | 2 |
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); } |