diff options
author | Michal Bloch <m.bloch@samsung.com> | 2023-03-15 17:29:19 +0100 |
---|---|---|
committer | Karol Lewandowski <k.lewandowsk@samsung.com> | 2024-02-14 11:08:54 +0100 |
commit | ac1188828a7660cfb2345d3d86ef2155936058c2 (patch) | |
tree | f454cd497dc7d23f8dcd447c960adc80860deb40 /gio | |
parent | cca0535fee85e5be3ba93aa5f5975330d2e295be (diff) | |
download | glib-ac1188828a7660cfb2345d3d86ef2155936058c2.tar.gz glib-ac1188828a7660cfb2345d3d86ef2155936058c2.tar.bz2 glib-ac1188828a7660cfb2345d3d86ef2155936058c2.zip |
tizen: Ensure GIO types in async initable creation
Change-Id: I223c719262bfffc5d81a24e555c543a57790f826
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
Diffstat (limited to 'gio')
-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 c1a05e87e..79a22a6fa 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, |