diff options
author | Michal Bloch <m.bloch@samsung.com> | 2023-03-15 17:29:19 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2023-03-21 14:30:23 +0900 |
commit | 3bb961284eaf931039ad2ee039571461da8353ae (patch) | |
tree | d742cb3e7b9aa270ae51a28b630670f92dab9229 | |
parent | 67a06dcb18cb8ea7083a5f0d99b44ba10d35bb7b (diff) | |
download | glib-tizen_7.0.tar.gz glib-tizen_7.0.tar.bz2 glib-tizen_7.0.zip |
Ensure GIO types in async initable creationtizen_7.0
Change-Id: I7077cba2f27d1318619d3fd390e8290ee5aa715e
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
-rw-r--r-- | gio/gasyncinitable.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gio/gasyncinitable.c b/gio/gasyncinitable.c index 6af650688..1eda2c9b2 100644 --- a/gio/gasyncinitable.c +++ b/gio/gasyncinitable.c @@ -24,6 +24,7 @@ #include "gsimpleasyncresult.h" #include "gtask.h" #include "glibintl.h" +#include "gdbusprivate.h" /** @@ -382,6 +383,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); @@ -426,6 +429,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, |