diff options
Diffstat (limited to 'src/glibext/delayed.c')
-rw-r--r-- | src/glibext/delayed.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/glibext/delayed.c b/src/glibext/delayed.c index 455cc03..32a3d16 100644 --- a/src/glibext/delayed.c +++ b/src/glibext/delayed.c @@ -561,7 +561,10 @@ bool init_work_queue(GObject *ref) queue = g_object_new(G_TYPE_WORK_QUEUE, NULL); - queue->statusbar = g_object_get_data(ref, "statusbar"); + if (ref != NULL) + queue->statusbar = g_object_get_data(ref, "statusbar"); + else + queue->statusbar = NULL; if (queue != NULL) _get_work_queue(queue); |