Fix for bug #637720. void functions should not return a value.
authorBrian Cameron <Brian.Cameron@sun.com>
Wed, 22 Dec 2010 07:37:21 +0000 (01:37 -0600)
committerBrian Cameron <Brian.Cameron@sun.com>
Wed, 22 Dec 2010 07:37:21 +0000 (01:37 -0600)
gio/gsimpleactiongroup.c
gio/gtlsconnection.c

index ecc1dce..df359b9 100644 (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
index a652ac3..b358778 100644 (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);
 }
 
 /**