diff options
Diffstat (limited to 'gio/src/dbuserrorutils.ccg')
-rw-r--r-- | gio/src/dbuserrorutils.ccg | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gio/src/dbuserrorutils.ccg b/gio/src/dbuserrorutils.ccg index a5db2cec..d4e34906 100644 --- a/gio/src/dbuserrorutils.ccg +++ b/gio/src/dbuserrorutils.ccg @@ -30,17 +30,20 @@ namespace DBus namespace ErrorUtils { -bool is_remote_error(const Glib::Error& error) +bool +is_remote_error(const Glib::Error& error) { return static_cast<bool>(g_dbus_error_is_remote_error(error.gobj())); } -Glib::ustring get_remote_error(const Glib::Error& error) +Glib::ustring +get_remote_error(const Glib::Error& error) { return Glib::convert_const_gchar_ptr_to_ustring(g_dbus_error_get_remote_error(error.gobj())); } -bool strip_remote_error(Glib::Error& error) +bool +strip_remote_error(Glib::Error& error) { return static_cast<bool>(g_dbus_error_strip_remote_error(error.gobj())); } |