gdbusconnection: add a getter for the flags property

Right now this can only be set at construction but not read back.
That seems unnecessarily restrictive, and we'll need to read these
flags from outside of gdbusconnection.c in the next commit, so let's
just make it public.

https://gitlab.gnome.org/GNOME/glib/issues/1620
This commit is contained in:
Cosimo Cecchi
2018-12-19 16:33:50 -08:00
parent 3924ef6ac1
commit 7d02e32644
3 changed files with 30 additions and 0 deletions

View File

@@ -114,6 +114,8 @@ void g_dbus_connection_set_exit_on_close (GDBusConnection
gboolean exit_on_close);
GLIB_AVAILABLE_IN_ALL
GDBusCapabilityFlags g_dbus_connection_get_capabilities (GDBusConnection *connection);
GLIB_AVAILABLE_IN_2_60
GDBusConnectionFlags g_dbus_connection_get_flags (GDBusConnection *connection);
/* ---------------------------------------------------------------------------------------------------- */