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>
Tue, 3 Sep 2024 08:56:17 +0000 (10:56 +0200)
Change-Id: I223c719262bfffc5d81a24e555c543a57790f826
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
gio/gasyncinitable.c

index 024efa2..932320f 100644 (file)
@@ -26,6 +26,7 @@
 #include "gsimpleasyncresult.h"
 #include "gtask.h"
 #include "glibintl.h"
+#include "gdbusprivate.h"
 
 
 /**
@@ -385,6 +386,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);
@@ -429,6 +432,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,