geary crashes with libhandy >=1.0.1
Curiously, this only happens when I have a NExtcloud Gnome Online Account enabled, it seems...
Remove expected error, which makes geary crash as it was fixed
This bug does not occur anymore with libhandy 1.0.3-2 (Debian testing). It depends
on libhandy#305 which was fixed in October 2020
(and thus before the release of libhandy 1.0.1). When using a newer libhandy
it now issues a critical debug log and coredumps, making geary non-functional.
Merge request is upcoming.
diff --git a/src/client/application/application-client.vala b/src/client/application/application-client.vala index 19992edd..6191b854 100644 --- a/src/client/application/application-client.vala +++ b/src/client/application/application-client.vala @@ -937,15 +937,6 @@ public class Application.Client : Gtk.Application { }
private MainWindow new_main_window(bool select_first_inbox) {
-
// Work around warning caused by GNOME/libhandy#305 which
-
// makes it a pita to run with G_DEBUG=fatal-warnings. Remove
-
// once the fix for that issue has been released and packaged.
-
GLib.Test.expect_message(
-
"GLib-GObject",
-
LEVEL_WARNING,
-
"g_object_weak_unref: couldn't find weak ref *"
-
);