please consider: #define g_dbus_is_error_name(x) g_dbus_is_interface_name (x)
Submitted by Simon McVittie
Assigned to David Zeuthen
Link to original bug (#646814)
Description
With this addition to a suitable GIO header:
#define g_dbus_is_error_name(x) g_dbus_is_interface_name (x)
anything dealing with D-Bus error names could have a more obvious assertion message:
g_return_if_fail (g_dbus_is_error_name (error_name));
(D-Bus error names are defined to have exactly the same syntax as interfaces.)