impcontextsimple: Return from GTask
authorMatthias Clasen <mclasen@redhat.com>
Thu, 2 Mar 2023 21:17:48 +0000 (16:17 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 2 Mar 2023 21:18:45 +0000 (16:18 -0500)
GLib complains about this now, so do it.

gtk/gtkimcontextsimple.c

index c9ff583614ae8c08163e5a8819543d08ebfa9e1e..f07a2f76e1f0e8c9f951d8724d846272d4fd6d97 100644 (file)
@@ -351,6 +351,8 @@ init_compose_table_thread_cb (GTask            *task,
 
   gtk_im_context_simple_init_compose_table ();
 
+  g_task_return_boolean (task, TRUE);
+
   gdk_profiler_end_mark (before, "im compose table load (thread)", NULL);
 }