From 73e517bcca8732c1498d0f48c49d7f31bfb64aca Mon Sep 17 00:00:00 2001 From: Michael Janssen Date: Fri, 3 Apr 2015 15:02:11 -0700 Subject: gdbus: Add g_dbus_get_flags function The g_dbus_get_flags function enables detection of when the G_DBUS_FLAG_ENABLE_EXPERIMENTAL is set. --- gdbus/object.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdbus/object.c') diff --git a/gdbus/object.c b/gdbus/object.c index 4d5a64cb..b62c062a 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -1816,3 +1816,8 @@ void g_dbus_set_flags(int flags) { global_flags = flags; } + +int g_dbus_get_flags(void) +{ + return global_flags; +} -- cgit v1.2.3