summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-10-26 14:58:19 -0700
committerJohn Stebbins <[email protected]>2016-10-26 14:58:19 -0700
commite26810a02f5f919ec875122c3edd3f5058c01e4e (patch)
tree54fd045d66745d8f0ffce754dccfaeebff547f7e /gtk/src
parente939a07b13fd0e9f833c1fa46824ff9b328c7f51 (diff)
LinGui: use HB_ERROR_CANCELED status ...
... rather than tracking canceled jobs internally in the UI.
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/callbacks.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 4d027c881..051a21dd2 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -3466,9 +3466,6 @@ ghb_backend_events(signal_user_data_t *ud)
index = find_queue_job(ud->queue, status.queue.unique_id, &queueDict);
treeview = GTK_TREE_VIEW(GHB_WIDGET(ud->builder, "queue_list"));
store = gtk_tree_view_get_model(treeview);
- if (ud->cancel_encode == GHB_CANCEL_ALL ||
- ud->cancel_encode == GHB_CANCEL_CURRENT)
- status.queue.error = GHB_ERROR_CANCELED;
switch( status.queue.error )
{
case GHB_ERROR_NONE: