summaryrefslogtreecommitdiff
path: root/plugins/dex/loading.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dex/loading.c')
-rw-r--r--plugins/dex/loading.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/dex/loading.c b/plugins/dex/loading.c
index efe1531..8b14d3e 100644
--- a/plugins/dex/loading.c
+++ b/plugins/dex/loading.c
@@ -38,7 +38,7 @@ struct _GDexLoading
{
GDelayedWork parent; /* A laisser en premier */
- GDexFormat *format; /* Format à faire évoluer */
+ GObject *target; /* Cible à faire évoluer */
dex_loading_cb callback; /* Routine de traitement finale*/
uint32_t begin; /* Point de départ du parcours */
@@ -166,7 +166,7 @@ static void g_dex_loading_finalize(GDexLoading *loading)
/******************************************************************************
* *
-* Paramètres : format = = ensemble d'instructions désassemblées. *
+* Paramètres : target = cible finale de l'évolution programmée. *
* begin = point de départ du parcours de liste. *
* end = point d'arrivée exclu du parcours. *
* id = identifiant du message affiché à l'utilisateur. *
@@ -181,13 +181,13 @@ static void g_dex_loading_finalize(GDexLoading *loading)
* *
******************************************************************************/
-GDexLoading *g_dex_loading_new(GDexFormat *format, uint32_t begin, uint32_t end, activity_id_t id, dex_loading_cb callback, bool *status)
+GDexLoading *g_dex_loading_new(GObject *target, uint32_t begin, uint32_t end, activity_id_t id, dex_loading_cb callback, bool *status)
{
GDexLoading *result; /* Tâche à retourner */
result = g_object_new(G_TYPE_DEX_LOADING, NULL);
- result->format = format;
+ result->target = target;
result->callback = callback;
result->begin = begin;
@@ -222,7 +222,7 @@ static void g_dex_loading_process(GDexLoading *loading, GtkStatusStack *status)
for (i = loading->begin; i < loading->end && *(loading->status); i++)
{
- obj = loading->callback(loading->format, i);
+ obj = loading->callback(loading->target, i);
if (obj != NULL)
g_object_unref(obj);