summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/panels/errors.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/panels/errors.c b/src/gui/panels/errors.c
index 57fedaf..f62e684 100644
--- a/src/gui/panels/errors.c
+++ b/src/gui/panels/errors.c
@@ -37,6 +37,7 @@
#include "../core/global.h"
#include "../../core/global.h"
#include "../../format/format.h"
+#include "../../glibext/signal.h"
#include "../../gtkext/support.h"
@@ -469,7 +470,8 @@ static void update_panel_with_binary_errors(GErrorPanel *panel, GLoadedBinary *b
fcount + pcount,
(pu_fallback_cb)update_error_panel);
- g_signal_connect(update, "work-completed", G_CALLBACK(update_error_panel_summary), panel);
+ g_signal_connect_to_main(update, "work-completed", G_CALLBACK(update_error_panel_summary), panel,
+ g_cclosure_marshal_VOID__VOID);
g_work_queue_schedule_work(get_work_queue(), G_DELAYED_WORK(update), DEFAULT_WORK_GROUP);
@@ -772,7 +774,8 @@ static void on_error_filter_toggled(GtkToggleButton *button, GErrorPanel *panel)
panel->count,
(pu_fallback_cb)filter_error_panel);
- g_signal_connect(update, "work-completed", G_CALLBACK(update_error_panel_summary), panel);
+ g_signal_connect_to_main(update, "work-completed", G_CALLBACK(update_error_panel_summary), panel,
+ g_cclosure_marshal_VOID__VOID);
g_work_queue_schedule_work(get_work_queue(), G_DELAYED_WORK(update), DEFAULT_WORK_GROUP);