[glib] Fix for bug #637720. void functions should not return a value.
- From: Brian Cameron <bcameron src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix for bug #637720. void functions should not return a value.
- Date: Wed, 22 Dec 2010 07:38:14 +0000 (UTC)
commit 37ef8cbba5f8fae5c3f56a16925f68346944548d
Author: Brian Cameron <Brian Cameron sun com>
Date: Wed Dec 22 01:37:21 2010 -0600
Fix for bug #637720. void functions should not return a value.
gio/gsimpleactiongroup.c | 4 ++--
gio/gtlsconnection.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gsimpleactiongroup.c b/gio/gsimpleactiongroup.c
index ecc1dce..df359b9 100644
--- a/gio/gsimpleactiongroup.c
+++ b/gio/gsimpleactiongroup.c
@@ -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
diff --git a/gio/gtlsconnection.c b/gio/gtlsconnection.c
index a652ac3..b358778 100644
--- a/gio/gtlsconnection.c
+++ b/gio/gtlsconnection.c
@@ -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);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]