mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 19:24:04 +02:00
Fix for bug #637720. void functions should not return a value.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user