Rebecca N. Palmer
2024-12-04 21:40:02 UTC
Reply
PermalinkThis (untested) patch may fix this bug, but given the more general
issues around caribou's obsolescence (see other bugs), it might be
better to just remove it.
--- caribou-0.4.21.orig/modules/gtk3/caribou-gtk-module.c
+++ caribou-0.4.21/modules/gtk3/caribou-gtk-module.c
@@ -592,11 +592,11 @@ static void caribou_gtk_module_callback
{
CaribouKeyboard* _tmp0_ = NULL;
GAsyncResult* _tmp1_ = NULL;
- CaribouKeyboard* _tmp2_ = NULL;
- CaribouKeyboard* _tmp3_ = NULL;
+ GAsyncInitable* _tmp2_ = NULL;
+ GObject* _tmp3_ = NULL;
CaribouKeyboard* _tmp4_ = NULL;
_tmp1_ = res;
- _tmp2_ = g_async_result_get_source_object (_tmp1_);
+ _tmp2_ = (GAsyncInitable*)
g_async_result_get_source_object (_tmp1_);
_tmp3_ = g_async_initable_new_finish (_tmp2_, _tmp1_,
&_inner_error_);
g_object_unref (_tmp2_);
_tmp0_ = (CaribouKeyboard*) _tmp3_;