summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkstatusstack.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-09-28 21:40:39 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-09-28 21:40:39 (GMT)
commit0b5e9a3c7bcd3eb15be0e888ebfe46d14497b101 (patch)
tree059d8e5712476a9df8c429ed787efd484d5f372d /src/gtkext/gtkstatusstack.c
parentdc25699a414f0baa2265be0cfa162c77b2cdc22d (diff)
Rely on a generic task to analyze loaded content.
Diffstat (limited to 'src/gtkext/gtkstatusstack.c')
-rw-r--r--src/gtkext/gtkstatusstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/gtkstatusstack.c b/src/gtkext/gtkstatusstack.c
index 1df5d35..0b35e1b 100644
--- a/src/gtkext/gtkstatusstack.c
+++ b/src/gtkext/gtkstatusstack.c
@@ -839,7 +839,7 @@ activity_id_t gtk_status_stack_add_activity(GtkStatusStack *stack, const char *m
progress_info *info; /* Informations à consulter */
size_t new; /* Indice de l'activité créée */
- if (stack == NULL) return 0;
+ if (stack == NULL) return NO_ACTIVITY_ID;
info = stack->prog_info;