mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Add g_dbus_method_invocation_take_error() convenience method
Similar in spirit to g_simple_async_result_take_error(). Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -64,6 +64,8 @@ void g_dbus_method_invocation_return_error_literal (GDBusMetho
|
||||
const gchar *message);
|
||||
void g_dbus_method_invocation_return_gerror (GDBusMethodInvocation *invocation,
|
||||
const GError *error);
|
||||
void g_dbus_method_invocation_take_error (GDBusMethodInvocation *invocation,
|
||||
GError *error);
|
||||
void g_dbus_method_invocation_return_dbus_error (GDBusMethodInvocation *invocation,
|
||||
const gchar *error_name,
|
||||
const gchar *error_message);
|
||||
|
Reference in New Issue
Block a user