mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
Fix for bug #637720. void functions should not return a value.
This commit is contained in:
parent
86b250019a
commit
37ef8cbba5
@ -160,7 +160,7 @@ g_simple_action_group_set_state (GActionGroup *group,
|
|||||||
if (action == NULL)
|
if (action == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
return g_action_set_state (action, value);
|
g_action_set_state (action, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -176,7 +176,7 @@ g_simple_action_group_activate (GActionGroup *group,
|
|||||||
if (action == NULL)
|
if (action == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
return g_action_activate (action, parameter);
|
g_action_activate (action, parameter);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -654,9 +654,9 @@ g_tls_connection_handshake_async (GTlsConnection *conn,
|
|||||||
{
|
{
|
||||||
g_return_if_fail (G_IS_TLS_CONNECTION (conn));
|
g_return_if_fail (G_IS_TLS_CONNECTION (conn));
|
||||||
|
|
||||||
return G_TLS_CONNECTION_GET_CLASS (conn)->handshake_async (conn, io_priority,
|
G_TLS_CONNECTION_GET_CLASS (conn)->handshake_async (conn, io_priority,
|
||||||
cancellable,
|
cancellable,
|
||||||
callback, user_data);
|
callback, user_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user