tizen: Ensure GIO types in async initable creation
authorMichal Bloch <m.bloch@samsung.com>
Wed, 15 Mar 2023 16:29:19 +0000 (17:29 +0100)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 14 Feb 2024 10:08:54 +0000 (11:08 +0100)
Change-Id: I223c719262bfffc5d81a24e555c543a57790f826
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
gio/gasyncinitable.c

index c1a05e8..79a22a6 100644 (file)
@@ -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,