I am migrating code from dbus-glib to GDBus as the former is deprecated. I am not able to find an equivalent function for dbus_connection_setup_with_g_main() in GDBus. https://dbus.freedesktop.org/doc/dbus-glib/dbus-glib-DBus-GLib-low-level.html#dbus-connection-setup-with-g-main
Can someone point me to an equivalent function in GDBus or something which does the similar job ?