summaryrefslogtreecommitdiff
path: root/src/gui/panels
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-08-22 21:38:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-08-22 21:38:30 (GMT)
commit4fb2ac107092671fe27fc3ebf9fc86dff7c3ec19 (patch)
tree92cf5860302b4ba485c85fef3062f1179a978560 /src/gui/panels
parent0f73369ad9cd15cb17ae44aadfc035cb12778b93 (diff)
Reorganized the global variables for the work queue singleton.
Diffstat (limited to 'src/gui/panels')
-rw-r--r--src/gui/panels/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/panels/errors.c b/src/gui/panels/errors.c
index 7d7226f..842f0ec 100644
--- a/src/gui/panels/errors.c
+++ b/src/gui/panels/errors.c
@@ -34,6 +34,7 @@
#include "panel-int.h"
+#include "../../core/global.h"
#include "../../format/format.h"
#include "../../gtkext/support.h"
@@ -469,7 +470,6 @@ static void update_panel_with_binary_errors(GErrorPanel *panel, GLoadedBinary *b
g_signal_connect(update, "work-completed", G_CALLBACK(update_error_panel_summary), panel);
- if (get_work_queue() != NULL) /* FIXME */
g_work_queue_schedule_work(get_work_queue(), G_DELAYED_WORK(update), DEFAULT_WORK_GROUP);
}