From ac1188828a7660cfb2345d3d86ef2155936058c2 Mon Sep 17 00:00:00 2001 From: Michal Bloch Date: Wed, 15 Mar 2023 17:29:19 +0100 Subject: [PATCH] tizen: Ensure GIO types in async initable creation Change-Id: I223c719262bfffc5d81a24e555c543a57790f826 Signed-off-by: Michal Bloch --- gio/gasyncinitable.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gio/gasyncinitable.c b/gio/gasyncinitable.c index c1a05e8..79a22a6 100644 --- a/gio/gasyncinitable.c +++ b/gio/gasyncinitable.c @@ -26,6 +26,7 @@ #include "gsimpleasyncresult.h" #include "gtask.h" #include "glibintl.h" +#include "gdbusprivate.h" /** @@ -384,6 +385,8 @@ g_async_initable_newv_async (GType object_type, { GObject *obj; + _g_dbus_initialize(); + g_return_if_fail (G_TYPE_IS_ASYNC_INITABLE (object_type)); obj = g_object_newv (object_type, n_parameters, parameters); @@ -428,6 +431,8 @@ g_async_initable_new_valist_async (GType object_type, { GObject *obj; + _g_dbus_initialize(); + g_return_if_fail (G_TYPE_IS_ASYNC_INITABLE (object_type)); obj = g_object_new_valist (object_type, -- 2.7.4