summaryrefslogtreecommitdiff
path: root/gdbus/dconf-gdbus-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdbus/dconf-gdbus-thread.c')
-rw-r--r--gdbus/dconf-gdbus-thread.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdbus/dconf-gdbus-thread.c b/gdbus/dconf-gdbus-thread.c
index 47bc6cb..e3d69d8 100644
--- a/gdbus/dconf-gdbus-thread.c
+++ b/gdbus/dconf-gdbus-thread.c
@@ -347,3 +347,11 @@ dconf_engine_dbus_call_sync_func (GBusType bus_type,
return g_dbus_connection_call_sync (connection, bus_name, object_path, interface_name, method_name,
parameters, reply_type, G_DBUS_CALL_FLAGS_NONE, -1, NULL, error);
}
+
+#ifndef PIC
+void
+dconf_engine_dbus_init_for_testing (void)
+{
+ g_type_init ();
+}
+#endif