Fix for bug #637720. void functions should not return a value.

This commit is contained in:
Brian Cameron 2010-12-22 01:37:21 -06:00
parent 86b250019a
commit 37ef8cbba5
2 changed files with 5 additions and 5 deletions

View File

@ -160,7 +160,7 @@ g_simple_action_group_set_state (GActionGroup *group,
if (action == NULL)
return;
return g_action_set_state (action, value);
g_action_set_state (action, value);
}
static void
@ -176,7 +176,7 @@ g_simple_action_group_activate (GActionGroup *group,
if (action == NULL)
return;
return g_action_activate (action, parameter);
g_action_activate (action, parameter);
}
static void

View File

@ -654,9 +654,9 @@ g_tls_connection_handshake_async (GTlsConnection *conn,
{
g_return_if_fail (G_IS_TLS_CONNECTION (conn));
return G_TLS_CONNECTION_GET_CLASS (conn)->handshake_async (conn, io_priority,
cancellable,
callback, user_data);
G_TLS_CONNECTION_GET_CLASS (conn)->handshake_async (conn, io_priority,
cancellable,
callback, user_data);
}
/**