mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
void functions should not return. Fixes bug #656675.
This commit is contained in:
parent
b18ca488ae
commit
b5f1ea4bb1
@ -5349,7 +5349,7 @@ g_dbus_connection_call (GDBusConnection *connection,
|
|||||||
GAsyncReadyCallback callback,
|
GAsyncReadyCallback callback,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
return g_dbus_connection_call_internal (connection, bus_name, object_path, interface_name, method_name, parameters, reply_type, flags, timeout_msec, NULL, cancellable, callback, user_data);
|
g_dbus_connection_call_internal (connection, bus_name, object_path, interface_name, method_name, parameters, reply_type, flags, timeout_msec, NULL, cancellable, callback, user_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -5493,7 +5493,7 @@ g_dbus_connection_call_with_unix_fd_list (GDBusConnection *connection,
|
|||||||
GAsyncReadyCallback callback,
|
GAsyncReadyCallback callback,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
return g_dbus_connection_call_internal (connection, bus_name, object_path, interface_name, method_name, parameters, reply_type, flags, timeout_msec, fd_list, cancellable, callback, user_data);
|
g_dbus_connection_call_internal (connection, bus_name, object_path, interface_name, method_name, parameters, reply_type, flags, timeout_msec, fd_list, cancellable, callback, user_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -428,7 +428,7 @@ void
|
|||||||
g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation,
|
g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation,
|
||||||
GVariant *parameters)
|
GVariant *parameters)
|
||||||
{
|
{
|
||||||
return g_dbus_method_invocation_return_value_internal (invocation, parameters, NULL);
|
g_dbus_method_invocation_return_value_internal (invocation, parameters, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef G_OS_UNIX
|
#ifdef G_OS_UNIX
|
||||||
@ -451,7 +451,7 @@ g_dbus_method_invocation_return_value_with_unix_fd_list (GDBusMethodInvocation *
|
|||||||
GVariant *parameters,
|
GVariant *parameters,
|
||||||
GUnixFDList *fd_list)
|
GUnixFDList *fd_list)
|
||||||
{
|
{
|
||||||
return g_dbus_method_invocation_return_value_internal (invocation, parameters, fd_list);
|
g_dbus_method_invocation_return_value_internal (invocation, parameters, fd_list);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2841,7 +2841,7 @@ g_dbus_proxy_call (GDBusProxy *proxy,
|
|||||||
GAsyncReadyCallback callback,
|
GAsyncReadyCallback callback,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
return g_dbus_proxy_call_internal (proxy, method_name, parameters, flags, timeout_msec, NULL, cancellable, callback, user_data);
|
g_dbus_proxy_call_internal (proxy, method_name, parameters, flags, timeout_msec, NULL, cancellable, callback, user_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -2960,7 +2960,7 @@ g_dbus_proxy_call_with_unix_fd_list (GDBusProxy *proxy,
|
|||||||
GAsyncReadyCallback callback,
|
GAsyncReadyCallback callback,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
return g_dbus_proxy_call_internal (proxy, method_name, parameters, flags, timeout_msec, fd_list, cancellable, callback, user_data);
|
g_dbus_proxy_call_internal (proxy, method_name, parameters, flags, timeout_msec, fd_list, cancellable, callback, user_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -702,7 +702,7 @@ g_tls_database_lookup_certificate_for_handle_async (GTlsDatabase *sel
|
|||||||
g_return_if_fail (interaction == NULL || G_IS_TLS_INTERACTION (interaction));
|
g_return_if_fail (interaction == NULL || G_IS_TLS_INTERACTION (interaction));
|
||||||
g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
|
g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
|
||||||
g_return_if_fail (G_TLS_DATABASE_GET_CLASS (self)->lookup_certificate_for_handle_async);
|
g_return_if_fail (G_TLS_DATABASE_GET_CLASS (self)->lookup_certificate_for_handle_async);
|
||||||
return G_TLS_DATABASE_GET_CLASS (self)->lookup_certificate_for_handle_async (self,
|
G_TLS_DATABASE_GET_CLASS (self)->lookup_certificate_for_handle_async (self,
|
||||||
handle,
|
handle,
|
||||||
interaction,
|
interaction,
|
||||||
flags,
|
flags,
|
||||||
|
Loading…
Reference in New Issue
Block a user