diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-05-19 21:21:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-05-19 21:21:30 (GMT) |
commit | f828d126a74facac145531822c6ea9c8259b50e0 (patch) | |
tree | 521bfa44de551f30934ee321339a7a87d12a3243 /src/glibext/delayed.c | |
parent | e92c777c91612c8508d263645480c6c3889b679d (diff) |
Loaded the ELF internal symbols using all the available CPUs.
Diffstat (limited to 'src/glibext/delayed.c')
-rw-r--r-- | src/glibext/delayed.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/glibext/delayed.c b/src/glibext/delayed.c index 37b3ed7..f0aa141 100644 --- a/src/glibext/delayed.c +++ b/src/glibext/delayed.c @@ -814,7 +814,7 @@ static void g_work_queue_finalize(GWorkQueue *queue) /****************************************************************************** * * -* Paramètres : ref = espace de référencements global. * +* Paramètres : status = barre de statut à tenir informée. * * * * Description : Procède au chargement du gestionnaire d'analyse différées. * * * @@ -824,19 +824,16 @@ static void g_work_queue_finalize(GWorkQueue *queue) * * ******************************************************************************/ -bool init_work_queue(GObject *ref) +bool init_work_queue(GtkStatusStack *status) { GWorkQueue *queue; /* Singleton à mettre en place */ queue = g_object_new(G_TYPE_WORK_QUEUE, NULL); - if (ref != NULL) - { - queue->status = g_object_get_data(ref, "statusbar"); + queue->status = status; + + if (status != NULL) g_object_ref(G_OBJECT(queue->status)); - } - else - queue->status = NULL; if (queue != NULL) _get_work_queue(queue); |