diff options
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/gtkstatusstack.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gtkext/gtkstatusstack.c b/src/gtkext/gtkstatusstack.c index 880f4ed..f8bb4e8 100644 --- a/src/gtkext/gtkstatusstack.c +++ b/src/gtkext/gtkstatusstack.c @@ -1059,7 +1059,10 @@ void gtk_status_stack_remove_activity(GtkStatusStack *stack, activity_id_t id) info->count--; if (info->count == 0) - info->tag = g_idle_add((GSourceFunc)gtk_status_stack_show_current_instruction, stack); + { + info->tag = 0; + g_idle_add((GSourceFunc)gtk_status_stack_show_current_instruction, stack); + } else info->tag = g_idle_add((GSourceFunc)gtk_status_stack_show_current_activity, stack); |