void functions should not return. Fixes bug #656675.
authorBrian Cameron <brian.cameron@oracle.com>
Wed, 17 Aug 2011 08:01:14 +0000 (03:01 -0500)
committerBrian Cameron <brian.cameron@oracle.com>
Wed, 17 Aug 2011 08:01:14 +0000 (03:01 -0500)
gio/gdbusconnection.c
gio/gdbusmethodinvocation.c
gio/gdbusproxy.c
gio/gtlsdatabase.c

index 978ad6aa7185f85fafd981266c1d7db0a94e5f53..098b915a39960c8d2e2f3d8ceceb7915d840f845 100644 (file)
@@ -5349,7 +5349,7 @@ g_dbus_connection_call (GDBusConnection        *connection,
                         GAsyncReadyCallback     callback,
                         gpointer                user_data)
 {
-  return g_dbus_connection_call_internal (connection, bus_name, object_path, interface_name, method_name, parameters, reply_type, flags, timeout_msec, NULL, cancellable, callback, user_data);
+  g_dbus_connection_call_internal (connection, bus_name, object_path, interface_name, method_name, parameters, reply_type, flags, timeout_msec, NULL, cancellable, callback, user_data);
 }
 
 /**
@@ -5493,7 +5493,7 @@ g_dbus_connection_call_with_unix_fd_list (GDBusConnection        *connection,
                                           GAsyncReadyCallback     callback,
                                           gpointer                user_data)
 {
-  return g_dbus_connection_call_internal (connection, bus_name, object_path, interface_name, method_name, parameters, reply_type, flags, timeout_msec, fd_list, cancellable, callback, user_data);
+  g_dbus_connection_call_internal (connection, bus_name, object_path, interface_name, method_name, parameters, reply_type, flags, timeout_msec, fd_list, cancellable, callback, user_data);
 }
 
 /**
index fae234f6dcfc5dbba2874a0252a92ac33e3c4fc7..be3dc563316d8e96bfeeee4226caf24e2134c6ba 100644 (file)
@@ -428,7 +428,7 @@ void
 g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation,
                                        GVariant              *parameters)
 {
-  return g_dbus_method_invocation_return_value_internal (invocation, parameters, NULL);
+  g_dbus_method_invocation_return_value_internal (invocation, parameters, NULL);
 }
 
 #ifdef G_OS_UNIX
@@ -451,7 +451,7 @@ g_dbus_method_invocation_return_value_with_unix_fd_list (GDBusMethodInvocation *
                                                          GVariant              *parameters,
                                                          GUnixFDList           *fd_list)
 {
-  return g_dbus_method_invocation_return_value_internal (invocation, parameters, fd_list);
+  g_dbus_method_invocation_return_value_internal (invocation, parameters, fd_list);
 }
 #endif
 
index 9da5f53ab38f29aeb8a46f19c239dcf5d8686140..992280f4335b72be651f84bf6444295f0552a99c 100644 (file)
@@ -2841,7 +2841,7 @@ g_dbus_proxy_call (GDBusProxy          *proxy,
                    GAsyncReadyCallback  callback,
                    gpointer             user_data)
 {
-  return g_dbus_proxy_call_internal (proxy, method_name, parameters, flags, timeout_msec, NULL, cancellable, callback, user_data);
+  g_dbus_proxy_call_internal (proxy, method_name, parameters, flags, timeout_msec, NULL, cancellable, callback, user_data);
 }
 
 /**
@@ -2960,7 +2960,7 @@ g_dbus_proxy_call_with_unix_fd_list (GDBusProxy          *proxy,
                                      GAsyncReadyCallback  callback,
                                      gpointer             user_data)
 {
-  return g_dbus_proxy_call_internal (proxy, method_name, parameters, flags, timeout_msec, fd_list, cancellable, callback, user_data);
+  g_dbus_proxy_call_internal (proxy, method_name, parameters, flags, timeout_msec, fd_list, cancellable, callback, user_data);
 }
 
 /**
index 9f2ff7babbce5a6e30b9ddee3d3e9904497bfdfa..1131298c0004563e6241a2961b3bdbd7b3db8fb0 100644 (file)
@@ -702,7 +702,7 @@ g_tls_database_lookup_certificate_for_handle_async (GTlsDatabase            *sel
   g_return_if_fail (interaction == NULL || G_IS_TLS_INTERACTION (interaction));
   g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
   g_return_if_fail (G_TLS_DATABASE_GET_CLASS (self)->lookup_certificate_for_handle_async);
-  return G_TLS_DATABASE_GET_CLASS (self)->lookup_certificate_for_handle_async (self,
+  G_TLS_DATABASE_GET_CLASS (self)->lookup_certificate_for_handle_async (self,
                                                                                handle,
                                                                                interaction,
                                                                                flags,